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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Run a YouTube Video From a QB64 Program? Magdha 4 361 12-13-2025, 02:57 PM
Last Post: Magdha
  Can you prevent a QB64 program from being maximized under Linux? Dav 5 1,262 08-07-2023, 12:55 PM
Last Post: Dav
  Convert QB64 Program to Animated Avatar bplus 10 2,180 04-30-2022, 06:59 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)