Skip to content

Commit 881c96d

Browse files
committed
added type
1 parent a9b6ffd commit 881c96d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

io/native/src/main/scala/fs2/io/process/ProcessesPlatform.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private[process] trait ProcessesCompanionPlatform extends ProcessesCompanionJvmN
9595
stdoutPipe: (Int, Int),
9696
stderrPipe: (Int, Int)
9797
): F[NativeProcess] = F.blocking {
98-
Zone[NativeProcess] { implicit z =>
98+
val nativeProcess: NativeProcess = Zone { implicit z =>
9999
val envMap =
100100
if (process.inheritEnv)
101101
sys.env ++ process.extraEnv
@@ -153,6 +153,7 @@ private[process] trait ProcessesCompanionPlatform extends ProcessesCompanionJvmN
153153
)
154154
}
155155
}
156+
nativeProcess
156157
}
157158

158159
def cleanup(proc: NativeProcess): F[Unit] =

0 commit comments

Comments
 (0)