system command doesn't execute with option --gui

Posted by kean on 2016-09-20 07:12

I wrote a script with Tk gui that starts another program with the "system" function.
This works well when i build it with perlapp and i don't use the gui option.

When i want to hide the console and build it with gui option, the whole app is stopping and hangs up.

I use Win7, Perl 5.16 x86 and PDK 9.5.1.

How can i start an app out of my Tk Script?