Hello g00r00!
Thank you for your reply!
On 09 Aug 2021, g00r00 said the following...
Windows: > NUL 2>&1
Linux: > /dev/null 2>&1
Mystic's local console API in Windows already takes over STDIN and
STDOUT.
OK, but what happens to "external" archive viewers (View Cmd) on Windows then?
Won't their output be eaten up by the console API, resulting in (seemingly) no contents inside those archives?
That's what currently happens for Linux, and the reason for needing a construct like >> "%3%2" 2> /dev/null; exit $? at the end of the View Cmd on Linux. Easy, but unnecessary, should Mystic instead only "eat" stderr of the View Cmd on Linux. :)
Now, please don't get me wrong -- I think the job you've put into the archiver stuff lately is marvelous, including the fix for the redirections, and I appreciate it all very much! Just thinking that View Cmds would be easier to construct if stdout wasn't eaten up (for View Cmds, only).
As always, thank you,
Best regards
Bj”rn
--- Mystic BBS v1.12 A47 2021/08/08 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)