mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
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:
1 parent
aa7094bdb8
commit
91cf0e8c76
1 file changed
+1
-1
@@ -2,4 +2,4 @@
|
||||
|
||||
SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
|
||||
"$SCRIPTDIR/runps.sh" --file "$@"
|
||||
"$SCRIPTDIR/runps-simple.sh" "& $@"
|
||||
Reference in new issue
Block a user