({{, (RefLink[$SystemShell, paclet:ref/$SystemShell]) 
is a symbol that specifies the system shell for the OS that is currently being used. }})

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Show the system shell value:

$SystemShell

Run the echo command in the system shell:

RunProcess[$SystemShell,"StandardOutput","echo hello world\nexit\n"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$OperatingSystem, paclet:ref/$OperatingSystem])  ▪  (RefLink[$CommandLine, paclet:ref/$CommandLine])  ▪  (RefLink[RunProcess, paclet:ref/RunProcess])  ▪  (RefLink[StartProcess, paclet:ref/StartProcess])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[System Information, paclet:guide/SystemInformation])}, {▪(RefLinkPlain[Direct Control of External Processes, paclet:guide/DirectControlOfExternalProcesses])}})}})