* [9fans] Unix system() like call?
@ 2006-10-28 21:36 ISHWAR RATTAN
2006-10-28 22:25 ` Gorka guardiola
0 siblings, 1 reply; 2+ messages in thread
From: ISHWAR RATTAN @ 2006-10-28 21:36 UTC (permalink / raw)
To: 9fans
Is there a system call (in Plan 9 or plan9port)
that will execute a given command at shell level
a la system() call under UNIX?
-ishwar
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] Unix system() like call?
2006-10-28 21:36 [9fans] Unix system() like call? ISHWAR RATTAN
@ 2006-10-28 22:25 ` Gorka guardiola
0 siblings, 0 replies; 2+ messages in thread
From: Gorka guardiola @ 2006-10-28 22:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
System is not a system call, but library,
fork + preparation using getenv + exec of the shell with the program
as a parameter.
http://www.opengroup.org/onlinepubs/000095399/functions/system.html
You have fork and exec...
On 10/28/06, ISHWAR RATTAN <rattan@cps.cmich.edu> wrote:
>
> Is there a system call (in Plan 9 or plan9port)
> that will execute a given command at shell level
> a la system() call under UNIX?
>
> -ishwar
>
--
- curiosity sKilled the cat
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-28 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-28 21:36 [9fans] Unix system() like call? ISHWAR RATTAN
2006-10-28 22:25 ` Gorka guardiola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).