1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00

vbs: use "2>&1" to combine stderr -> stdout

This commit is contained in:
老刘 2024-08-10 09:19:54 +08:00 committed by Joel Martin
parent c91acfb22f
commit 128afb113f

View File

@ -1,2 +1,4 @@
#!/bin/bash
MAL_VBS_IMPL_NO_STDERR=1 cscript.exe -nologo $(dirname $0)/${STEP:-stepA_mal}.vbs "${@}"
# MAL_VBS_IMPL_NO_STDERR=1 cscript.exe -nologo $(dirname $0)/${STEP:-stepA_mal}.vbs "${@}"
# cmd.exe /c "set MAL_VBS_IMPL_NO_STDERR=1 & cscript -nologo $(dirname $0)/${STEP:-stepA_mal}.vbs "${@}""
cmd.exe /c "cscript -nologo $(dirname $0)/${STEP:-stepA_mal}.vbs "${@}" 2>&1"