manifoldco / promptui

Interactive prompt for command-line applications
https://www.manifold.co
BSD 3-Clause "New" or "Revised" License
6.03k stars 333 forks source link

Nohup running retruns ^D #203

Open jonyhy96 opened 2 years ago

jonyhy96 commented 2 years ago

when running command with nohup on linux, ^D error will occur.

$ nohup xxx > out 2>&1 &

promptui.Run will return ^D error. If there is any ref to this error so that i can use errors.Is to assert? Why this error occured?