in reply to Perl file handles

I think that Win32::Process::Create() with the proper parms will work. Of course your mileage may vary..

But here is rule of thumb to start a "detached process" perl program from another perl program (I use this to start GUI programs without the command window, eg no STDIN, no STDOUT). A key buzz word here is DETACHED_PROCESS. You will have to modify this to get Perl to start a Java app, but this is an idea to work from (or so I hope).

#!/usr/bin/perl -w use strict; use Win32; use Win32::Process; Win32::Process::Create($Win32::Process::Create::ProcessObj, 'C:/perl/bin/perl.exe', 'perl SOMEPROGRAM', '0', #don't inherit file handles DETACHED_PROCESS, ".") #CURRENT DIR or die "some message";