mafredri / zsh-async

Because your terminal should be able to perform tasks asynchronously without external tools!
MIT License
766 stars 34 forks source link

Prefix async job output to prevent external corruption #28

Closed mafredri closed 6 years ago

mafredri commented 6 years ago

If an external process interferes with the async worker (e.g. writes its pty), the output can become corrupt. To minimize this occurance we now prefix all job output with the NULL character, instead of just separate on NULLs (suffix).