tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Warren, John H." <JHWARREN () ESCOCORP ! com>
To: tru64-unix-managers
Subject: Summary:  Execute a UNIX command in C program
Date: Tue, 30 Jun 1998 01:02:39 +0000	[thread overview]
Message-ID: <96078712011929.tru64-unix-managers.marc@archive.invalid> (raw)

If you wish to execute a UNIX shell command within a C program, you have
different C commands to facilitate the process:
	1.  Use the system command (ie.  system ("ls -lt");
	2.  Use the exec command (ie. exec[l,v,le,ve,lp]
	3.  Use popen()
Man pages are available for all these commands.  Blake also mentioned a
utility called bperl that will convert Perl code to C code.
Thanks to:
Joseph P. Hall
Angel G. Martinez
Dr. Thomas P. Blinn
Burch Seymour
Blake Roberts
Gyula Szokoly
and numerous others...

John H. Warren

Computer Operations Manager
IT Department, ESCO Corporation
(503)778-6278 (Computer Room)
(503)778-6513 (Office)
jhwarren@escocorp.com
http://www.escocorp.com

                 reply	other threads:[~1998-06-30  1:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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