Re: exec() on Linux

2000-03-16 Thread David Marshall
[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?

Re: exec() on Linux

2000-03-16 Thread TrentJarvi
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("