Author Topic: Pipecom - Cross-platform Alternate to Shell  (Read 600 times)

0 Members and 2 Guests are viewing this topic.

Offline bplus

  • Moderator
  • Forum Resident
  • Posts: 6642
  • b = b + ...
Pipecom - Cross-platform Alternate to Shell
« on: February 15, 2021, 03:25:38 PM »
Author: @SpriggsySpriggs
Source: Forum
Browser Bookmark:
Version: noted here 2021-02-15
Tag: OS information

Pipecom is Spriggsy's genius cross platform faster alternate to many commands executed in a Shell. As of this date he has 2 versions and made his code pipecom.h file free ie, it's all Basic now.

One version is:
Code: QB64: [Select]
  1. MyOSInquiry$ = pipecom_lite("OS line command")
and as expected from "lite" just delivers the needed goods in a string.

But if you want to dive deep into information available there is:
Code: QB64: [Select]
  1. exit_code = pipecom("dir /b *.bas", stdout, stderr)

and now I refer you to Spriggy's own words because this is where you want to GoTo next :

Note: Code posted here would be redundant and not up-to-date with the latest updates people as talented and dedicated as Spriggsy continuously make to fix or improve.
« Last Edit: February 15, 2021, 03:32:47 PM by bplus »