The osh API (Application Programming Interface) supports the use of
osh from Python code. The recommended form of import is from
osh.api import *
. This imports the functions documented here as
well as the symbols from the module osh.builtins
, the
Process
class, and processes
function.
In general, the function
|
|
|
return_list()
Input tuples are accumulated in a list which is returned as the
value of the osh() invocation. |
source code
|
|
|
|
|
|
|
debug(verbosity)
Control osh debugging: 0 = off, 1 = parse tree, 2 = command
execution. |
source code
|
|