system call problem under Win32
- From: Uwe Huniar <uwe.huniar@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 15:51:27 +0000 (UTC)
I have a strange error with the combination of perl, java and Windows...
What we do:
- a java program calls (with runtime.exec) 'perl PATH/script.pl'
- in script.pl there are several system calls to binaries
- system "prog.exe >> out";
java and perl work as expected, the script.pl runs on the shell
(cmd.exe as well as bash with cygwin) without problems.
But the script.pl does not do the system call at all, it passes the
system " ... "; without executing the binary (also a simple echo or
'del file' does not work).
Error on:
Windows 2000, ActivePerl 5.8.8, Java2 1.5.0
Windows XP, ActivePerl 5.8.8, Java2 1.5.0
Windows XP, PXPerl 5.8.7-6, Java2 1.5.0
Works properly on:
Windows XP, cygwin perl 5.8.7, Java2 1.5.0
Anyone any idea how to circumvent that?
Uwe
.
- Follow-Ups:
- Re: system call problem under Win32
- From: xhoster
- Re: system call problem under Win32
- From: Mothra
- Re: system call problem under Win32
- Prev by Date: Re: BEGIN <> BEGIN
- Next by Date: Re: system call problem under Win32
- Previous by thread: accessing hash values with %hash->{foo} ?
- Next by thread: Re: system call problem under Win32
- Index(es):
Relevant Pages
|