Aug 29, 2012, 6:23 AM
Post #4 of 4
Since you haven't provided any info about your script or what you need to accomplish, it's hard to give any working suggestions.
Re: [deepthi28] Need to call same script twice in parallel with 2 different input files
[In reply to]
If your script was written correctly, it would be able to accept multiple input files and act on each of them as needed.
Since it sounds like your script was not written to accept multiple input files, you could either rewrite it to fix that problem or write a wrapper script that executes your script as many times as needed. If you need them to run in parallel, then you could either use fork directly or one of the forking modules, or use the shell to execute each as a background process.