is an object that represents a runnable external process.
represents the running external process with PID pid on your computer system.
- ProcessObject can be created by StartProcess.
- For processes started by StartProcess, ProcessObject can be used in place of a stream in functions like Read, Write, BinaryRead, and Import.
- ProcessObject can represent both a running process and a process that has ended.
- ProcessObject[…]["prop" ] gives properties of external processes. Possible properties include:
"PID" process ID "PPID" parent process ID "Memory" memory the process is using "StartTime" date the process was started "RealTime" time since the process started "SystemTime" CPU time spent in kernel space "UserTime" CPU time spent in user space "Threads" number of threads "User" the user the process belongs to "Program" name of the program "Path" full file path of the program "Dataset" dataset of all properties and values "Properties" list of available properties
Basic Examples (2)
Write a command into the shell process using the corresponding ProcessObject:
Introduced in 2014
(10.0)| Updated in 2018