in reply to Re^5: SYSTEM Call of PERL hangs application when running a TCL script
in thread SYSTEM Call of PERL hangs application when running a TCL script

Well the thing here is the perl code , or application test.exe works fine when i executed the automation perl code having TCLs without "typerperf.exe".
The application runs fine when i use to tun each test case individually.
In short test.exe works fine.
Also if we consider typeperf.exe as a background process here , i can see that when test.exe hangs , typeperf-exe isn't executed or shown in task manager.
Again this scenario is random in sense that test.exe hangs at say third iteration or can hang at 5th or even in first iteration itself.
It is this randomness that is not allowing me to locate the problem.
The "debug" tht i came up is with observing the return value of SYSTEM when i manually kill test.exe which is 1 (and not 0 which is for successful fork and wait).
So i am assuming the problem is in SYSTEM function and/or its execution.
I have given a try using autoflush , but it didnt work out.
So any furthur help ????
  • Comment on Re^6: SYSTEM Call of PERL hangs application when running a TCL script