in reply to Execution of parallel unix system commands
Then I tried translating that WAG into (pseudo)code.
The translation step failed when I realized I'm missing some data -- which suggests that perhaps many of us are missing data needed to help. (See How do I post a question effectively? and On asking for help ).
So, perhaps you'll speed us toward answers directed to the problem case, rather than the post, by providing a small sample of the filenames in @file, your skills at dispatching data from one node to another (presuming you have the necessary permissions) and -- some code to show us how you plan to "collect the exit codes in an array as they complete (and state whether "complete means 'as a node finishes its assigned work' or means 'as each thread exits.'
|
|---|