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.
This commit is contained in:
Andrew Schwartzmeyer committed 2015-10-20 15:34:21 -07:00
1 parent aa7094bdb8
commit 91cf0e8c76
1 file changed
+1 -1
+1 -1
View File
@@ -2,4 +2,4 @@
SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
"$SCRIPTDIR/runps.sh" --file "$@"
"$SCRIPTDIR/runps-simple.sh" "& $@"