comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic, 561.796.8997, M/S 731-96" <condicma@PWFL.COM>
Subject: Executing Command Line Strings From Ada95/GNAT
Date: 1997/07/31
Date: 1997-07-31T00:00:00+00:00	[thread overview]
Message-ID: <97073110303193@psavax.pwfl.com> (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
===============================================================================




             reply	other threads:[~1997-07-31  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-31  0:00 Marin David Condic, 561.796.8997, M/S 731-96 [this message]
1997-08-01  0:00 ` Executing Command Line Strings From Ada95/GNAT Stephen Leake
replies disabled

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