![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl call C programs | gjithin | Shell Programming and Scripting | 3 | 06-17-2008 12:11 AM |
| how to differentiate system call from library call | muru | UNIX for Advanced & Expert Users | 2 | 07-19-2007 08:20 PM |
| cp & mkdir simultaneously | enuenu | UNIX for Dummies Questions & Answers | 5 | 03-13-2007 02:29 AM |
| Execution of two jobs simultaneously | rinku11 | Shell Programming and Scripting | 8 | 03-14-2006 10:26 PM |
| call functions from diferents programs | DebianJ | High Level Programming | 1 | 05-19-2005 08:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to call two programs simultaneously
Hi,
i want to call two programs simultaneously from a currently running program so as to distribute the job and fasten the speed. As of now I call the programs one after the other within the main program. e.g. `perl A.pl`; `perl B.pl`; how can I run the two paralelly? urgent ... please help. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
`perl A.pl &`
`perl B.pl &` This will switch both tasks to the background and run them concurrently. You will run into trouble if you need to interact with them though (eg if they ask for user input on the keyboard). |
||||
| Google The UNIX and Linux Forums |