benlaw has asked for the wisdom of the Perl Monks concerning the following question:

hi monks!
recently, i writing a tk program which run a system command when click on the a button...
but it seems not run in a separate process, when a run (in win32) ---- {system 'notepad'};
then i can't use my parent widget....
(i don't know how to explain who i c, so upload here) http://benlaw.netfirms.com/pw/

thx a lot :)

  • Comment on run system command in separate process in tk

Replies are listed 'Best First'.
(crazyinsomniac) Re: run system command in separate process in tk
by crazyinsomniac (Prior) on Apr 18, 2002 at 06:21 UTC
      thx for reply!!
      yes , "exec" is what i need , thx!
      moreover, i found a command win32 ..start.exe , can execute a new memory space for app
      the test program is posted, thx
      http://benlaw.netfirms.com/pw/tt.pl.txt