Specifying a command
Operating system processes

Prev:The process lifecycle
Next:Running processes in the background

The command slot of a process can contain either a string or a sequence of strings. In the first case, the string is processed in an operating system-specific manner. In the second case, the first element is a program name and the remaining elements are passed to the program as command-line arguments.