gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] [GM2] "exec" Procedure in iso-libraries?


From: john o goyo
Subject: Re: [Gm2] [GM2] "exec" Procedure in iso-libraries?
Date: Wed, 21 Oct 2015 12:15:37 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15

On 21/10/2015 11:06, Gaius Mulley wrote:
"address@hidden"<address@hidden>  writes:

Hello List,

in the "ulm" libraries, in Module "CallShell" there is procedure
"Call", allowing a program to call a shell and execute some other
program or system command. Is there something similar in the "iso"
libraries?

Thanks and regards, Georg

Hi Georg,

res := libc.system (ADR ("command")) ;

No such animal in ISO, Gaius.

In fact, there seemed to be definite bias against anything that smacked of POSIX. (Hence, one of their blunders is not specifying the exact nature of the command arguments. Some compilers chose the called command as the first argument, as in POSIX, whilst others chose the first passed argument as the first argument.)

By the way, how is the Solaris port going (he asked hopefully)?

john


should do the trick,

regards,
Gaius

_______________________________________________
gm2 mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gm2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]