Python Forum
running multiple commands in a parallel pool
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
running multiple commands in a parallel pool
#3
it looks like that module is intended to call functions. i need to execute a command. i probably can do that by having each process running a function do subprocess.call(). but, that means 2 processes per command. if i use the threaded version, can a variety of threads each do subprocess.call() to run 1 process per command, N of them concurrently?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: running multiple commands in a parallel pool - by Skaperen - Jul-29-2019, 10:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Suggestions for coding of multiple commands astroashton 3 1,120 Nov-30-2022, 11:18 PM
Last Post: astroashton
  Multiprocessing Pool Multiple Instances How to Kill by Pool ID sunny9495 0 821 Nov-16-2022, 05:57 AM
Last Post: sunny9495
  super multiple parallel classes catlessness 2 1,411 Jun-07-2022, 02:35 PM
Last Post: deanhystad
  execute commands inside a running application mr_byte31 3 1,419 Apr-12-2022, 08:50 AM
Last Post: Larz60+
  Controlling what get outputted to stdout when running external commands Daring_T 4 2,301 Jan-30-2022, 05:40 PM
Last Post: bowlofred
  Pool multiprocessing - know current status in loop? korenron 0 1,687 Jul-28-2021, 08:49 AM
Last Post: korenron
  pool mysql error - not catch by try\except? korenron 1 2,208 Jul-05-2021, 11:26 AM
Last Post: ibreeden
  Running script on multiple files Afrodizzyjack 1 2,585 May-14-2021, 10:49 PM
Last Post: Yoriz
  Multiproccessing ValueError: Pool not running when running parallel functions Gilush 1 3,397 Jun-06-2020, 12:49 AM
Last Post: Gilush
  Use dynamic variable from parallel running python script Sicksym 0 1,946 May-15-2020, 02:52 PM
Last Post: Sicksym

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020