![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum 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 do I know all processes are finished? | Carla | Shell Programming and Scripting | 2 | 04-28-2008 09:29 AM |
| ** Finished ** Syncid.rc | syndex | Shell Programming and Scripting | 1 | 07-10-2007 07:18 AM |
| background job finished notification | nkeller | UNIX for Dummies Questions & Answers | 4 | 03-08-2007 09:41 AM |
| Has my script finished? | Bab00shka | UNIX for Dummies Questions & Answers | 5 | 07-23-2002 06:39 AM |
| Finding Out When A Process Has Finished? | 1cuervo | UNIX for Advanced & Expert Users | 5 | 11-02-2001 02:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to know a executable has finished his task
Hi frnds,
I want to know is there a way by which we can know that a C++ executable has finished its job in shell script. My task is as follows: 1.Shell script calls a executable 2.Executable executes and performs its job of generating some reports. Now i want my shell script to detect this that is C++ executable has completed its job so that shell script can send the reports as attachement. Please help me urgently on this |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Perform a simple
ps -aef |grep [process name] |grep -v grep If it doesn't return any data, process is finished. |
|
#3
|
|||
|
|||
|
What is the difference between this and How to check succeesfull finish of a executable from the sheel script?
|
|
#4
|
|||
|
|||
|
Wat this done means
|
|
#5
|
||||
|
||||
|
Duplicate thread. That is against the rules. Use How to check succeesfull finish of a executable from the sheel script
|
||||
| Google The UNIX and Linux Forums |