Execute system commands

From: Warren, John H. <JHWARREN_at_ESCOCORP.com>
Date: Thu, 08 Jul 1999 09:21:58 -0700

How do you execute system commands from within a c++ program?

from perl I can do something like: $foo=system("/sbin/df");

tia
Received on Thu Jul 08 1999 - 16:24:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT