what is a "Valid System process" for mac and windows. (java ProcessBuilder) -


i trying work out semantics of using java processbuilder call operating system processes , read line out of javadocs start command:

"this method checks command valid operating system command. commands valid system-dependent, @ least command must non-empty list of non-null strings."

tell me, considered valid process mac , windows? can found on path variable?

is can found on path variable?

yes is; although can specify full path of command if (such "/bin/ls"). test if of course check if file in question regular file , has execution permissions.

note: launch "real" process, will not launch via command interpreter; such don't attempt use pipes, file globs, shell builtins etc: interpreted sh/cmd.


Comments

Popular posts from this blog

jquery - isAjaxRequest always return false -

php - SPIP: From Tag directly to an article -