Hi,
Has anyone ever launched an application from inside another application with the use of a button? Does that make sense?
I have 2 applications, say "app1.pl", and "app2.pl". I would like to launch app2.pl from a button in app1.pl. Both are Perl/Tk stand alone apps.
Here's what I thought would work:
$button = $lowerframe -> Button( -text=> "text", -background=>"lightgrey",-foreground=>"black",-command=>\./app2.pl, ) -> pack(-side=>"right",-anchor=>"se");
Get a lot of weird errors with that. Any suggestions?
Thanks!
Has anyone ever launched an application from inside another application with the use of a button? Does that make sense?
I have 2 applications, say "app1.pl", and "app2.pl". I would like to launch app2.pl from a button in app1.pl. Both are Perl/Tk stand alone apps.
Here's what I thought would work:
$button = $lowerframe -> Button( -text=> "text", -background=>"lightgrey",-foreground=>"black",-command=>\./app2.pl, ) -> pack(-side=>"right",-anchor=>"se");
Get a lot of weird errors with that. Any suggestions?
Thanks!