Recognizing Unix commands
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Zeitlin
Posted On:   Monday, July 29, 2002 02:31 PM

I am trying to set the UNIX process ID as a system property through Runtime.exec(). This is abbreviated version of the command line that I used:



java -Dprocessid=$$ com.ciena.ems.server.system.Factory



when I call System.getProperties().getProperty("processid")all it returns is the string $$. How can I get the shell to evaluate "$$"?


Mike

About | Sitemap | Contact