Skip to content

Commit 9c89969

Browse files
Ensure process isolation is used on Windows
1 parent 545cc4d commit 9c89969

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/docker.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ impl<'a> ContainerBuilder<'a> {
194194
args.push("none".into());
195195
}
196196

197+
if cfg!(windows) {
198+
args.push("--isolation=process".into());
199+
}
200+
197201
args.push(self.image.image.clone());
198202

199203
for arg in self.cmd {

0 commit comments

Comments
 (0)