Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Problems? Is your data what you think it is?
 
PerlMonks  

run system command in separate process in tk

by benlaw (Scribe)
on Apr 18, 2002 at 01:02 UTC ( [id://160113]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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 02: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://160113]
Approved by mce
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.