The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

getRuntime.exec()

Posted by sanjay ambardar on January 10, 2002 at 5:47 AM

I need to pass environment variables to the method getRuntime.exec(cmd,env). I am doing so by setting the string array[0] to "Path=mypath.........". But still it is not able to find a file. Can anyone tell me how exactly the environment setting works



Replies:
  • code ping203 January 10, 2002 at 2:35 PM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us