Subj : Re: Redirecting only stderr to NUL on Windows? (suggested fix)
To   : g00r00

Date : Mon Aug 09 2021 08:52 pm

Hello again g00r00!

I've been thinking some more. Won't push this much further :-D, but:

BW> Just curious (as this is a difference for "external" archive viewing
BW> between Mystic on Linux and Windows).

The "best" thing would perhaps be to append (internally, inside Mystic):

Windows: > NUL 2>&1
Linux: > /dev/null 2>&1

...for Pack Cmd and Unpack Cmd, and "only":

Windows: 2> NUL
Linux: 2> /dev/null

...for View Cmd.

Then the "stock" View Cmds shipped with Mystic (ARJ is missing one, though) would continue to work right out of the box without any "trickery", and the platforms would behave the same with regard to stderr/stdout of the archiver commands.

Best regards


--- Mystic BBS v1.12 A47 2021/08/08 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)