D
David
im trying to figure out how to pipe data to an application with c++
Here is how I would do it in perl
open(OSA, "| /usr/bin/osascript") || die "Can't pipe to osascript";
print OSA "some text to pipe\n";
close(OSA);
can someone show me the equivilent in c++?
thanks
Here is how I would do it in perl
open(OSA, "| /usr/bin/osascript") || die "Can't pipe to osascript";
print OSA "some text to pipe\n";
close(OSA);
can someone show me the equivilent in c++?
thanks