Skip to content

Commit 51b78ff

Browse files
committed
Add script for running Windows binary from WSL shell
1 parent 3ee8973 commit 51b78ff

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tools/wsl-run.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
source `dirname ${BASH_SOURCE[0]}`/../.github/scripts/config.sh
4+
5+
set +e
6+
7+
echo "Launching $@"
8+
WSLENV="$WSLENV:PATH/p" $@
9+
echo "Result: $?"

0 commit comments

Comments
 (0)