|There's more than one way to do things|
Par Packer - gui option problemsby Dirk80 (Monk)
|on Dec 13, 2011 at 15:59 UTC||Need Help??|
Dirk80 has asked for the
wisdom of the Perl Monks concerning the following question:
Hello wise monks,
I've written a perl/tk application. When the user presses a button in the GUI then a function is called which executes an external batch file full of commands.
I packed this application with the pp program.pp -a "./AddFiles" -o my_app.exe my_app.pl"
If I do it like this the packed program my_app.exe is working fine. But if I add the --gui option the commands in the external batch file are not working correctly.pp --gui -a "./AddFiles" -o my_app.exe my_app.pl"
I tried to capture stdout and stderr of the external batch file by using Capture::Tiny. But they were empty. I put a lot of prints into the code and wrote it to an external file to find the error. But that did not help me.
So my question is to to you. Is there a way to debug a gui packed application to find out why it does not work when the gui-option is used?
What do you suggest for a way to find the error?
Thank you alot