fix on windows

This commit is contained in:
WindSoilder 2022-08-02 11:45:50 +08:00
parent 403ea29250
commit b560466676

View File

@ -132,7 +132,7 @@ impl ExternalCommand {
Err(_) => {
let mut fg_process =
ForegroundProcess::new(self.create_process(&input, true, head)?);
child = process.spawn();
child = fg_process.spawn();
}
Ok(process) => {
child = Ok(process);