Skip to content

Commit 9682d88

Browse files
committed
Use spawn launch method in asv
In default method asv will close stdin and new pytools looks at stdin to determine if the session is interactive. Solution found in pandas-dev/pandas#25237
1 parent 0ff42bd commit 9682d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-and-benchmark-py-project.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ fi
3737
master_commit=`git rev-parse master`
3838
test_commit=`git rev-parse HEAD`
3939

40-
asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr
41-
asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr
40+
asv run $master_commit...$master_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn
41+
asv run $test_commit...$test_commit~ --skip-existing --verbose --show-stderr --launch-method=spawn
4242

4343
output=`asv compare $master_commit $test_commit --factor 1 -s`
4444
echo "$output"

0 commit comments

Comments
 (0)