[prev in list] [next in list] [prev in thread] [next in thread] 

List:       9fans
Subject:    Re: [9fans] Unix system() like call?
From:       "Gorka guardiola" <paurea () gmail ! com>
Date:       2006-10-28 22:25:35
Message-ID: 599f06db0610281525l7d653f61s8f6a976465c63511 () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic