Hi All, I am using a perl script to invoke an application which uses TCL file to init and run. The TCL script contains windows command typeperf.exe & , which runs in background of the application. I have multiple TCL scripts which i have to execute on the application. I am taking each TCL using foreach from the directory in which my TCL are stored. For each TCL , I am invoking the application using system command as : SYSTEM "Application.exe my.tcl". However after couple of iteration the perl script hangs the application, i have to kill my application to restart the script. The return value of system when i forcibly kill the application from $? is "1" (original value is 256). I have used $| to flush out my outputs to a file , but still the problem persists. Can anyone guide me in this regard ? I am using cygwin on windows to run my script. Thanks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |