mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
b495fe83f0
This fixes problem of creation the garbage of zombie processes on POSIX systems. This also makes behaviour of `popen2` identical in Windows, namely, all resources are freed only when waiting, giving at the same time an ability to observe the exit code afterwards.
9 lines
237 B
Plaintext
9 lines
237 B
Plaintext
. ../../testutils.sh
|
|
|
|
run Test.idr
|
|
echo "------"
|
|
idris2 --exec main2 Test.idr
|
|
echo "------"
|
|
idris2 --exec main3 Test.idr | sed 's/^"//' | sed 's/" *$//'
|
|
# filtering above is to level differences in quotes echoing by Windows and the rest
|