in reply to Re^4: How to call Linux command sequentially in thread How to call Linux command sequentially
One more hiccup, i was able to execute the command in the shell which i created. But the perl lines right after the " print $ts "touch file1\n"; " is not getting executed. I know we have created a new shell here but how to come back to the perl code right after giving some command in shell i created. Its like I create the shell execute some command there if it reports error i want to log it than again create a shell execute some command & log its status. i wrote some perl to log the status but that code is not executing.
Also the shell i created is getting exited without having "print $ts "$exit_command"; " in my code.
Pls help :)
|