[EMAIL PROTECTED] wrote:
> Hi:I got a java application that uses exec("nativeApp.exe") to start a
> native application. It works fine on NT. But on Linux exec("a.out")
> gets an exception saying a.out could not be found. a.out is placed in
> the same directory as java app does. What I missed?
Hi:
I got
a java application that uses exec("nativeApp.exe") to start a native
application. It works fine on NT. But on Linux exec("a.out") gets an
exception saying a.out could not be found. a.out is placed in the same
directory as java app does. What I missed?
Thank
you.
Lee
The current directory is usually not in your path. Try exec("./a.out")
---
Trent Jarvi
[EMAIL PROTECTED]
On Thu, 16 Mar 2000 [EMAIL PROTECTED] wrote:
> Hi:
>
> I got a java application that uses exec("nativeApp.exe") to start a native
> application. It works fine on NT. But on Linux exec("