How to use SYSTEM$() to run C++ script
#2
SYSTEM$ doesn't care what language your program was written in.

What it does care about is whether your program's output gets written to STDOUT or STDERR. It will only report back with the contents of STDOUT.

Try redirecting all of your app's output to a temporary file, Then OPENing it and reading the contents.

system("command-name &>filename")
open "filename" for reading as #1
line input #1, a$
close #1
system("rm filename")
print a$
Reply


Messages In This Thread
RE: How to use SYSTEM$() to run C++ script - by clasqm - 10-07-2025, 06:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting