ii8 / havoc

minimal terminal emulator for wayland
Other
103 stars 17 forks source link

havoc with no command line option and multiple program args does nothing #30

Closed sijad closed 4 years ago

sijad commented 4 years ago

havoc with a program and multiple args exit immediately and does nothing.

how to reproduce:

havoc echo ok # does nothing and exit with code 0
havoc echo # works as intended
havoc -l echo ok # works as intended

seems to be related to forkpty but I couldn't debug.

ii8 commented 4 years ago

Doesn't look like there's a problem. This is the expected behavior. Havoc closes when the child program exits, if you want it to stay open to look at output, that's what -l is for.