Re: system call problem under Win32
- From: xhoster@xxxxxxxxx
- Date: 31 May 2006 16:02:34 GMT
Uwe Huniar <uwe.huniar@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
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";
I have a radical idea. If you want to know why the "system" failed, why
not check to see why the "system" failed?
The return value is the exit status of the program
as returned by the "wait" call. To get the actual
exit value shift right by eight (see below). See
also "exec". ...
Return value
of -1 indicates a failure to start the program
(inspect $! for the reason).
Xho
--
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB
.
- References:
- system call problem under Win32
- From: Uwe Huniar
- system call problem under Win32
- Prev by Date: Re: system call problem under Win32
- Next by Date: Re: BEGIN <> BEGIN
- Previous by thread: Re: system call problem under Win32
- Index(es):
Relevant Pages
|