Skip to content

Commit cc4e83a

Browse files
authored
Prevent vmcli start from messing up Ctrl+C (#9)
1 parent 77a85b6 commit cc4e83a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NixVms.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ runVm ctx verbosity vmName vmExecutable = do
143143
let mkProc stdout stdin =
144144
(System.Process.proc vmExecutable [])
145145
{ env = Just $ Map.toList $ Map.insert "NIX_DISK_IMAGE" nixDiskImage parentEnvironment,
146+
std_in = CreatePipe,
146147
std_out = stdout,
147148
std_err = stdin
148149
}

0 commit comments

Comments
 (0)