We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b6ffd commit 881c96dCopy full SHA for 881c96d
io/native/src/main/scala/fs2/io/process/ProcessesPlatform.scala
@@ -95,7 +95,7 @@ private[process] trait ProcessesCompanionPlatform extends ProcessesCompanionJvmN
95
stdoutPipe: (Int, Int),
96
stderrPipe: (Int, Int)
97
): F[NativeProcess] = F.blocking {
98
- Zone[NativeProcess] { implicit z =>
+ val nativeProcess: NativeProcess = Zone { implicit z =>
99
val envMap =
100
if (process.inheritEnv)
101
sys.env ++ process.extraEnv
@@ -153,6 +153,7 @@ private[process] trait ProcessesCompanionPlatform extends ProcessesCompanionJvmN
153
)
154
}
155
156
+ nativeProcess
157
158
159
def cleanup(proc: NativeProcess): F[Unit] =
0 commit comments