> Message: 6
> Date: Wed, 07 Jan 2004 20:16:26 -0700
> From: Jeff Rodriguez <jeff@xxxxxxxxxxxxx>
> To: wxperl-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: [wxperl-users] Hide perl.exe window on windows
>
> Does anyone happen to know how to hide the perl.exe window?
>
> I've tried "fork && die;"ing but the program segfaults.
>
> Any thoughs?
>
> Jeff
Actually your question is "How to have a non console application".
Soo, Win32 Perl come with a tool to change the binaries for that. Take a
look in the script exetype.pl, that can be found at c:\perl\bin
Or get the source at:
http://cvs.sourceforge.net/viewcvs.py/hwx/source/HWXperl/win32/bin/exetype.p
l?rev=1.1&view=auto
And note that fork on Win32 is fake!!! Soo, fork() doesn't create a new
process, like in Linux, it just create a new thread inside the same process.
(Don't use fork on Win32, use threads!)
Regards
GMP.
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|