Pocket Plane Group
Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: AL|EN on May 06, 2019, 11:24:59 AM
-
Hi wisp,
Example: "IWD NPC" mod has
AT_NOW ~IWDNPC/Audio/AudioInstallBG2.bat~
AT_UNINSTALL ~IWDNPC/Audio/AudioUninstallBG2.bat~
and while output from weidu is send to StdOut stream, the output from .bat file is send to 'StdErr' stream.
Can you confirm? If yes, what's the reason?
-
WeiDU does not listen to the inferior process. If you are picking up stuff on stderr, it'd be because that's the channel to which the process is writing. At least, that's how it works for the perl script I wrote to test this.
-
Indeed oggdec.exe is writing to StdErr stream, that's helpful, thanks. I also found '--log-extern' commandline switch, which combines the output from 'oggdec Audio\*.ogg' to the StdOut stream so I've achieved my goal. Let's hope that it won't cause more problems/hangs that it's worth it.