From 91cf0e8c76cc8b0dc0b7a98ea22fd3ab64eb001d Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 20 Oct 2015 15:31:44 -0700 Subject: [PATCH] Make runps-file to use runps-simple & script.ps1 Works much better. Removes dependency on `--file` switch in our executable (which is not a PowerShell thing) and instead uses the canonical method of launching a script/executable in PowerShell (the ampersand). Coincidentally, this now makes the output not depend on a TTY, and so `monad-run make hashbang-tests` now works as expected. --- scripts/runps-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runps-file.sh b/scripts/runps-file.sh index 4dcf52cd1..b2a7ddd94 100755 --- a/scripts/runps-file.sh +++ b/scripts/runps-file.sh @@ -2,4 +2,4 @@ SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) -"$SCRIPTDIR/runps.sh" --file "$@" +"$SCRIPTDIR/runps-simple.sh" "& $@"