Does anyone know of a way to fork off to another window? Ideally, the
parent would be completely independent of the child. I am using ActivePerl
5xx on 2000.
I tried Win32::Console, but I don't know if it will work in win32, but
since fork() is
_emulated_ in Win32, it doesn't seem work properly. It opens the first
window, then closes it and opens a second window:
#/usr/bin/perl -w
if (fork() == 0) {
sleep(1);
}
use Win32::Console;
my $CONSOLE = new Win32::Console();
$CONSOLE->Free();
$CONSOLE->Alloc();
$CONSOLE->Display();
print "hello\n";
sleep(5);
Thanks,
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]