tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary:  Execute a UNIX command in C program
@ 1998-06-30  1:02 Warren, John H.
  0 siblings, 0 replies; only message in thread
From: Warren, John H. @ 1998-06-30  1:02 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-30  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-30  1:02 Summary: Execute a UNIX command in C program Warren, John H.

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