in reply to Re: Multiple system commands in parallel
in thread Multiple system commands in parallel

Under Windows, both P::FM and fork use threads; which doesn't address the OPs problem.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: Multiple system commands in parallel

Replies are listed 'Best First'.
Re^3: Multiple system commands in parallel
by Your Mother (Archbishop) on May 09, 2016 at 23:45 UTC

    The problem seems to be synchronous v asynchronous. Do threads run synchronously in WIN when paired with system? Is all that is necessary to use exec which Tanktalus already mentioned and I had, perhaps wrongly assumed, was already part of the advice here?

      Do threads run synchronously in WIN when paired with system?

      Obviously not; but did you read the OPs reply to Tanktalus?

      Any processes spawned by system, from threads or not, will run within the same console, thus will be aborted if the parent is aborted by ^c.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.
      Is all that is necessary to use exec

      Have you thought about what happens if you exec after a (pseudo-)fork?


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.