1
.TH host 1 "April 1993" "Scilab Group" "Scilab Function"
4
host - shell (sh) command execution
7
stat=host(command-name)
12
: A character string containing Unix sh instruction
17
Sends a string \fVcommand-name\fR to Unix for execution by the sh
18
shell. Standard output and standard errors of the shell command are
19
written in the calling shell.
20
\fVstat\fR gives -1 if host can't be called (Not enough system memory
21
available) or the sh return code.
24
host("ls $SCI/demos");
25
host("emacs $SCI/demos/wheel2/Makefile");
26
deff('wd=getdir()','if MSDOS then host(''cd>''+TMPDIR+''\\path'');..
27
else host(''pwd>''+TMPDIR+''/path'');end..
28
wd=read(TMPDIR+''/path'',1,1,''(a)'')')
32
edit, manedit, unix_g, unix_s, unix_w, unix_x