Open talfryn opened 6 years ago
quickfix window can't take any input, so stdin is closed when job starts to prevent child process hang if it is waiting input.
Please update to the latest AsyncRun, it supports "range" feature which will enable AsyncRun takes a range of lines in the current buffer as stdin.
try:
:%AsyncRun cat
the whole buffer will be the input of command cat
. and
:10,20AsyncRun cat
text between line 10-20 will be taken as stdin.
:'<,'>AsyncRun cat
The visual selection (line-wise) will be taken as stdin.
when i use
AsyncRun! python %
i get the following errorhow to compile and run python that accepts input?