> Environment is Linux.
> I have a perl script which needs to be executed from within a Java
[quoted text clipped - 8 lines]
>
> Mekhala

Signature
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Software Reuse Project
>>Environment is Linux.
>>I have a perl script which needs to be executed from within a Java
[quoted text clipped - 4 lines]
>>String cmd = "perl "+PropertyManager.getProperty("PerlScript")+" "
>>+inputFile +" "+ outfile
I don't know what is "PropertyManager", but as long as it returns
a valid name of the "PerlScript", and Perl is in PATH, it should
work everywhere.
Hint: don't expect '\\' separator to work on anything but Windows.
DG
Scott Ellsworth - 19 May 2006 00:28 GMT
> >>Environment is Linux.
> >>I have a perl script which needs to be executed from within a Java
[quoted text clipped - 10 lines]
>
> Hint: don't expect '\\' separator to work on anything but Windows
And Hint The Second: always use the String[] form of exec, as it is not
confused by spaces in file names.
Scott

Signature
Scott Ellsworth
scott@alodar.nospam.com
Java and database consulting for the life sciences