comp.lang.ada
 help / color / mirror / Atom feed
From: Markus Wahl <d95wahl@dtek.chalmers.se>
Subject: Re: Pipe UNIX-commands
Date: 1996/08/23
Date: 1996-08-23T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SOL.3.92.960823141147.11498C-100000@hardin.dtek.chalmers.se> (raw)
In-Reply-To: 321B21B2.1F32@cpmx.saic.com


On Wed, 21 Aug 1996, Larry Hazel wrote:

> > I'd like to know how I can make unix-commands from inside my ada-program.

> > Eg: The program shall pipe out the command 'ls' and then make something
> > within the program with the output of 'ls'. Am I clear?

> I don't remember the details of the unix system call, I think it may be
> 'system' (try 'man system' to check it out).  I no longer have access to
> unix.  Anyway, you can import this C function and run any command from
> your Ada program that you can run from the shell prompt and can include
> I/O redirection.


Pitty I can't write C. Maybe someone else knows a solution suitable
for me. Thank you anyway.

/Markus

The government can take everything but your paranoia.





  reply	other threads:[~1996-08-23  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20  0:00 Pipe UNIX-commands Markus Wahl
1996-08-21  0:00 ` Larry Hazel
1996-08-23  0:00   ` Markus Wahl [this message]
1996-08-21  0:00 ` Stephen & Tammy House
  -- strict thread matches above, loose matches on Subject: below --
1996-07-04  0:00 Markus Wahl
replies disabled

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