![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass two or more parameters to the main in shell script | pinky | UNIX for Dummies Questions & Answers | 0 | 10-12-2007 08:54 AM |
| Return value (int) from main to calling shell | flounder | High Level Programming | 3 | 09-25-2006 07:14 PM |
| Problem starting a script from a 'main'-script | Rakker | UNIX for Dummies Questions & Answers | 3 | 06-28-2005 05:12 AM |
| calling dos2unix on shell script from within the script | vino | Shell Programming and Scripting | 4 | 04-08-2005 12:38 AM |
| c++ calling main() function | norsk hedensk | High Level Programming | 3 | 01-22-2003 04:28 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Ok, I have written a main script which checks a directory contents every 30 secs then sleeps. The subscript does a usermod, if the user is logged on, it sleeps for 30 secs and then trys again over and over again.
Here's the problem. when the subscript is called ./subscript.sh or exec subscript.sh and sleeps, it halts the main script until it finishes. How can I call the subscript without having the main care what happens to it and have it contain to run? |
| Forum Sponsor | ||
|
|