Hi > i run js from shell as below. > > test.sh > java org.mozilla.javascript.tools.shell.Main /path/to/test.js > > how can i get the pid of it... > > i use pidof to check it ,but i only can get java pid > > thanks you can use jps (JAVA_HOME/bin/jps.exe under Windows) with option -lm shell>jps -lm 4123 sun.tools.jps.Jps -lm 4123 org.mozilla.javascript.tools.shell.Main jg
_______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
