Page 1 of 1

Trying to use exec functions to execute and stop program

Posted: Wed Feb 22, 2006 6:51 pm
by Krishma
Hi:

1. I am executing exec function to start a program(Start ABC)
2. writing its output to a file(using batch file to do this)
3. Displaying that file(TEXT)
4. Stopping program (KILL)

My problem is I want to delete TEXT file. As I have KILLED the process it is not allowing to do this. If some one have any idea to save file before I kill it please tell. Or if some other solution please free to write your help.

Thanks,
Krishma