make c programs accept user input

This commit is contained in:
r4 2022-09-10 19:21:13 +02:00
parent b4ca4e302f
commit 6993bf5d27

View File

@ -91,7 +91,7 @@ fi
if [ -n "$CSCRIPT_GDB" ]; then if [ -n "$CSCRIPT_GDB" ]; then
printf "%s" "$args" | xargs -o -d'\n' gdb --args "$tmpfile" printf "%s" "$args" | xargs -o -d'\n' gdb --args "$tmpfile"
else else
printf "%s" "$args" | xargs -d'\n' "$tmpfile" printf "%s" "$args" | xargs -o -d'\n' "$tmpfile"
fi fi
trap - INT trap - INT
cleanup cleanup