system(1tcl)


system -- execute command via system(S) call

Synopsis

system command

Description

Executes command via the system(3S) call. It differs from exec in that system does not return the executed command's standard output as the result string, and system goes through the UNIX shell to provide wildcard expansion, redirection, etc, as is normal from an sh(1) command line. The exit code of the command is returned.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.