----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


cd is probably implemented in the shell, not as an external program.  Try:

# which cd

if a cd executable exists, is it in the JVM's PATH.

> -----Original Message-----
> From: Keith Ball [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 22, 2000 12:14 PM
> To: Java Apache Users
> Subject: Re: Runtime.getRuntime().exec("mkdir
> ISTILLhaveaproblem")............
> 
> 
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
> 
> Hi,
> 
> Well thanks for the source code that will help greatly.  I 
> have however
> discoved what I beleive to be a (( BIG )) problem.  (not with 
> you code, I
> hasten to add....)
> 
> Runtime.getRuntime().exec("cd /tmp; mkdir ItWorked");
> 
> Reports the following error....
> 
> "IOException : cd : not found".
> 
> Now I know this is a big problem.  My current user setup in 
> Apache is...
> 
> user : nobody
> group : nogroup
> 
> Anymore Ideas out there?  Or am I doing something blindingly obvious?
> 
> Keith



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to