Hi all,
I have a problem when executing a command file (.cmd) in perl using
win32-gui. When I am running my script with perl -w file.pl
everything works fine but as soon as I am building an .exe file using:
pp --gui -I lib -c -i lib\favicon.ico -o file.exe file.pl
my program is running all .cmd files in a command prompt box.
I tried already:
system("command") or die Win32::GUI::MessageBox(0,"FATAL ERROR\nThis
program cannot run on your PC!\n","",16);
-
exec("command") or die Win32::GUI::MessageBox(0,"FATAL ERROR\nThis
program cannot run on your PC!\n","",16);
-
$0 = system("command") or die Win32::GUI::MessageBox(0,"FATAL
ERROR\nThis program cannot run on your PC!\n","",16);
-
$0 = exec("command") or die Win32::GUI::MessageBox(0,"FATAL
ERROR\nThis program cannot run on your PC!\n","",16);
-
$0 = `command` or die Win32::GUI::MessageBox(0,"FATAL ERROR\nThis
program cannot run on your PC!\n","",16);
anyone has an idea or is it wrong usage of pp and his parameters?
Thanks for help guys,
tinti