ProcessInformation
ProcessInformation[proc]
gives information about an external process proc.
ProcessInformation[proc,"prop"]
gives information about the property "prop".
Details
- The external process proc is specified by a ProcessObject.
- ProcessInformation[proc] returns an association giving values of all properties.
Examples
Basic Examples (2)
Start the system shell process:
Write the exit command into the shell process:
Retrieve the process exit code:
Start the system shell process:
Use ProcessInformation to get the process exit code:
Text
Wolfram Research (2014), ProcessInformation, Wolfram Language function, https://reference.wolfram.com/language/ref/ProcessInformation.html.
CMS
Wolfram Language. 2014. "ProcessInformation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ProcessInformation.html.
APA
Wolfram Language. (2014). ProcessInformation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ProcessInformation.html