![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code Understand ? | varungupta | UNIX for Advanced & Expert Users | 2 | 05-02-2008 08:34 PM |
| execution status of gotoURL in Win32::IEAutomation | gurukottur | Shell Programming and Scripting | 2 | 11-22-2007 03:27 AM |
| Capturing last command execution status in a script. | videsh77 | Shell Programming and Scripting | 2 | 04-12-2007 02:19 PM |
| Process launched by user who logs out, continue running ? | Browser_ice | UNIX for Dummies Questions & Answers | 2 | 08-08-2006 10:43 AM |
| Status code of last command execution | tipsy | Shell Programming and Scripting | 1 | 07-21-2006 02:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
|
|
|||||
|
Thanks cbkihong, I saw that already, this would probably require fork(); but it won't work for me, at least in the way I wanted, I have arbitrary number of processes started via system command, and I can't use their PIDs, plus the execution of the subroutine call itself is successful, so I cannot do even : Code:
wait &sub-call;
if ($? == 0) {
# do something else;
}
I think I'll wait for STDIN interaction while "chomp"-ing the input, this should ensure that processes / SSH transfers in the background are done, assuming someone is looking at the external log file in real time. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|