|Perl Monk, Perl Meditation|
Re^3: Stop a .exeby BrowserUk (Pope)
|on Aug 21, 2012 at 11:06 UTC||Need Help??|
Then you are using it wrong!
Using the perl script as a substitute for your runme.exe:
And this Perl script to run the above using winopen2():
The latter reads a thousand lines from the former, sends "\n" to it which allows it to end, and then prints out the number of lines read (1001 including the "Press Enter to exit prompt") amd waits. If you check the task manager you'll see that the child process has terminated:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.