in reply to Tk-Toplevel related

My first thought is the external files may have an "exit" in them. You don't need Tk to demonstrate this. Comment out the do and system lines in caller, and see the difference. Basically "do" runs the external script as if it where part of the caller, and if it hits an exit.....bye bye.
#caller #!/usr/bin/perl $|++; print "start\n"; do "test"; #system ("./test"); print "done\n";
#test #!/usr/bin/perl print "test\n"; exit;

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Tk-Toplevel related
by props (Hermit) on Oct 13, 2007 at 15:50 UTC