comp.lang.ada
 help / color / mirror / Atom feed
* Executing Command Line Strings From Ada95/GNAT
@ 1997-07-31  0:00 Marin David Condic, 561.796.8997, M/S 731-96
  1997-08-01  0:00 ` Stephen Leake
  0 siblings, 1 reply; 2+ messages in thread
From: Marin David Condic, 561.796.8997, M/S 731-96 @ 1997-07-31  0:00 UTC (permalink / raw)



    I seem to recall from DEC Ada83 that they provided a procedure (in
    Starlet?) which would take a string argument and execute it as if it
    were a DCL command. (Maybe this was wishful thinking - it's been a
    while since I've fooled with that particular compiler.)

    Anyway, I'd like to be able to do something very much like that
    using the GNAT compiler under Sun/Unix and/or PC/WinNT. Which is
    to say, I would like a procedure which will take a string argument
    and execute it as a C-Shell or MS-DOS command. I have not seen
    anything immediately obvious in the documentation - perhaps it
    involves building a binding to some system routine(s). (I'm not
    terribly familiar with the system calls for either OS at the
    moment - I *write* operating systems, not *use* them ;-)

    If someone knows of some method to do this or has any suggestions,
    I'd appreciate hearing from you. Thanks.

    MDC

Marin David Condic, Senior Computer Engineer     ATT:        561.796.8997
Pratt & Whitney GESP, M/S 731-96, P.O.B. 109600  Fax:        561.796.4669
West Palm Beach, FL, 33410-9600                  Internet:   CONDICMA@PWFL.COM
===============================================================================
    "They can't get you for what you didn't say."
        --  Calvin Coolidge
===============================================================================




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-08-01  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-07-31  0:00 Executing Command Line Strings From Ada95/GNAT Marin David Condic, 561.796.8997, M/S 731-96
1997-08-01  0:00 ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox