File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ \section{Standard module \sectcode{commands}} % If implemented in Python
1414\begin {funcdesc }{getstatusoutput}{cmd}
1515Execute the string \var {cmd} in a shell with \code {os.popen()} and return
1616a 2-tuple (status, output). \var {cmd} is actually run as
17- \samp {cmd ; 2$ >$ \$ 1}, so that the returned output will contain output
17+ \samp {\{\ cmd \} ; 2$ >$ \$ 1}, so that the returned output will contain output
1818or error messages. A trailing newline is stripped from the output.
1919The exit status for the command can be interpreted according to the
2020rules for the \C {} function \code {wait()}.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ \section{Standard module \sectcode{commands}} % If implemented in Python
1414\begin {funcdesc }{getstatusoutput}{cmd}
1515Execute the string \var {cmd} in a shell with \code {os.popen()} and return
1616a 2-tuple (status, output). \var {cmd} is actually run as
17- \samp {cmd ; 2$ >$ \$ 1}, so that the returned output will contain output
17+ \samp {\{\ cmd \} ; 2$ >$ \$ 1}, so that the returned output will contain output
1818or error messages. A trailing newline is stripped from the output.
1919The exit status for the command can be interpreted according to the
2020rules for the \C {} function \code {wait()}.
You can’t perform that action at this time.
0 commit comments