File:  [Research Unix] / researchv10dc / man / adm / man3 / system.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH SYSTEM 3
.CT 2 proc_man
.SH NAME
system \(mi issue a shell command
.SH SYNOPSIS
.nf
.B system(string)
.B char *string;
.fi
.SH DESCRIPTION
.I System
causes the command
\fLsh -c \fIstring\fR
to be executed.
The current process waits until the shell has
completed, then returns the exit status of the shell.
.SH "SEE ALSO"
.IR popen (3),
.IR exec (2), 
.IR fork (2)
.SH DIAGNOSTICS
Exit status 127 indicates the shell couldn't be executed.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.