Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
calling an external C program from QB64 & getting back results?
#6
Thumbs Up 
(09-07-2022, 07:00 PM)Spriggsy Wrote: Oh, I actually forgot that the Mac and Linux versions both use a file for stderr (but not for stdout). However, you'll most likely be using the Windows portion anyways.
The "pipecom_lite$()" should have been changed to have an operating system conditional to decide to return "stdout" (Windows) or "stderr" (Unix-based). Otherwise, thank you very much for this tool.

The "io.popen()" in Lua does pretty much the same thing, makes unnecessary needing a file to have a "DIR /B/S" on Windows or "ls -1ar" or alike on Linux, only to have a cheap string list of files.
Reply


Messages In This Thread
RE: calling an external C program from QB64 & getting back results? - by mnrvovrfc - 09-08-2022, 03:34 AM



Users browsing this thread: 1 Guest(s)