mirror of
https://github.com/anoma/juvix.git
synced 2024-12-02 01:04:57 +03:00
Set std_in to NoStream on the Anoma client process (#3182)
This PR sets `std_in` to `NoStream` on the Anoma client process. https://hackage.haskell.org/package/process-1.6.25.0/docs/System-Process.html#t:StdStream We do not read from the Anoma client process stdin so we do not need to open a handle to stdin. This fixes an issue where the Anoma client stdin does not get cleaned up correctly on exit which causes subsequent input to the terminal to be corrupted.
This commit is contained in:
parent
2e38aa609f
commit
19ecfa931b
@ -56,6 +56,7 @@ anomaCreateProcess = do
|
||||
return
|
||||
(proc "mix" ["run", "--no-halt", "-e", unpack (T.strip (decodeUtf8 anomaStartExs))])
|
||||
{ std_out = CreatePipe,
|
||||
std_in = NoStream,
|
||||
cwd = Just (toFilePath anomapath)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user