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

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?

Replies are listed 'Best First'.
Re^4: Multiple system commands in parallel
by BrowserUk (Patriarch) on May 10, 2016 at 00:07 UTC
    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.
Re^4: Multiple system commands in parallel
by BrowserUk (Patriarch) on May 10, 2016 at 00:15 UTC
    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.