oxshell

<< cmds oxshell result >>
cmds is an array of strings.

command
Executing a command
cmdname arg1 arg2 ... 
Example 1: /afo (Hello! ) def [(cat) (stringIn://afo)] oxshell
Example 2: [(polymake) (stringInOut://afo.poly) (FACETS)] oxshell
A temporary file afo.poly* with the contents of the variable afo.poly is generated under $TMP and "polymake $TMP FACETS" will be executed. cf. kan96xx/trans/doPolymake.sm1, Doc/oxshell.oxw, Doc/changelog-ja.tex
Example 3: [(ls) (-l) (>) (stringOut://ff)] oxshell
command
export
export env_name  =  value
export env_name = 
Example: [(export) (PATH) (=) (/usr/new/bin:${PATH})] oxshell
export
keep_tmp_files
keep_tmp_files value
If value is zero, then temporary files are removed after execution.
Example 1: [(keep_tmp_files) (1)] oxshell ; temporary files will be kept in /tmp or $TMP or ...
keep_tmp_files
killall
Kill all the processes envoked by oxshell
killall
redirect
The following redirect operators are implemented.
< > 2>
Example 1: [(ls) (hoge) (2>) (stringOut://afo)] oxshell
    afo ::
Example 2: [(cp) ] addStdoutStderr oxshell
      [@@@stdout @@@stderr] ::
redirect
which
which cmd_name
which cmd_name path
Example: [(which) (ls)] oxshell
which



Nobuki Takayama 2020-11-24