Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CHAIN command not working
#8
(08-08-2022, 03:28 PM)mdijkens Wrote: I've got a simple example working, but I'D STRONGLY DISCOURAGE using CHAIN
:
I'm not sure where I read it (QB64 wiki?) but the QB64 system has to use files to keep track of the data going from one program to another. This means that, especially on Linux, this could present a security issue, which is the main reason why the use of "CHAIN" is discouraged. Somebody who knows how QB64 operates could make malicious arrangements such as scrambling file or directory permissions. It's hard enough to detect if a program is already running and, if an attempt is made to run it again, to just pick up the parameters from the command line, like "Audacious" media player could do on Linux to order it to start, stop, resume and so on. That's an alternative to using "CHAIN" but that could also be screwed up intentionally by a vengeful person.
Reply


Messages In This Thread
CHAIN command not working - by TerryRitchie - 08-08-2022, 04:02 AM
RE: CHAIN command not working - by bplus - 08-08-2022, 03:00 PM
RE: CHAIN command not working - by mdijkens - 08-08-2022, 03:28 PM
RE: CHAIN command not working - by mnrvovrfc - 08-08-2022, 10:47 PM
RE: CHAIN command not working - by Kernelpanic - 08-08-2022, 04:04 PM
RE: CHAIN command not working - by TerryRitchie - 08-08-2022, 08:07 PM
RE: CHAIN command not working - by Kernelpanic - 08-08-2022, 08:56 PM
RE: CHAIN command not working - by TerryRitchie - 08-08-2022, 09:25 PM
RE: CHAIN command not working - by SMcNeill - 08-08-2022, 11:34 PM
RE: CHAIN command not working - by Pete - 08-09-2022, 06:09 AM
RE: CHAIN command not working - by TempodiBasic - 08-12-2022, 05:35 PM
RE: CHAIN command not working - by TempodiBasic - 09-01-2022, 12:13 AM
RE: CHAIN command not working - by Udix - 11-01-2022, 01:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  plotting shapes not working madscijr 6 654 10-22-2025, 05:29 AM
Last Post: SMcNeill
  why isn't _FULLSCREEN working? madscijr 5 532 09-20-2025, 01:47 AM
Last Post: SMcNeill
  I'm working on an old MS-DOS thingy... KlamPs 2 518 08-25-2025, 09:43 AM
Last Post: hsiangch_ong
  Command$(count%) - I can't get a value when using the optional argument "(count%)" Unatic 3 529 08-22-2025, 11:58 AM
Last Post: Unatic
  keyword to get the EXE name and the EXE path instead of parsing Command$(0) ? madscijr 8 1,158 07-22-2025, 08:35 PM
Last Post: hsiangch_ong

Forum Jump:


Users browsing this thread: 1 Guest(s)