For an example I used ls command there.
My actual process is that,
Server is keeping on running in one side. This server will execute another application which might be executed at min 10 minutes to get the data from the database or file. The application will create a file in common directory once the data is get from the file or database.
Server will continue to do further process. It will not wait for any child process. It just checks file is available in the common directory.
Here when the application is not written the file at that time I need to kill the process with the process id.
For this how do I get the process id of the child process?
In reply to Re^2: Obtain the child process id in perl
by Anonymous Monk
in thread Obtain the child process id in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |