in reply to run system command in separate process in tk

How do you "launch" notepad? Code is more helpful than pictures you know.

What's probably going on is that you're using system to open up notepad ... consider these oneliners

perl -e"system('notepad');" perl -e"exec('notepad');" perl -e"`notepad`;"
The documentation for system and exec explains things, but I think you want exec.

 
______crazyinsomniac_____________________________
Of all the things I've lost, I miss my mind the most.
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

Replies are listed 'Best First'.
Re: (crazyinsomniac) Re: run system command in separate process in tk
by benlaw (Scribe) on Apr 18, 2002 at 07:04 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