@@ -57,9 +57,9 @@ runChildProcess (ChildProcess r) = r
5757-- | Note: some of these types are lies, and so it is unsafe to access some of
5858-- | these record fields directly.
5959type ChildProcessRec =
60- { stdin :: forall eff . Nullable (Writable () (cp :: CHILD_PROCESS | eff ) Buffer )
61- , stdout :: forall eff . Nullable (Readable () (cp :: CHILD_PROCESS | eff ) Buffer )
62- , stderr :: forall eff . Nullable (Readable () (cp :: CHILD_PROCESS | eff ) Buffer )
60+ { stdin :: forall eff . Nullable (Writable () (cp :: CHILD_PROCESS | eff ))
61+ , stdout :: forall eff . Nullable (Readable () (cp :: CHILD_PROCESS | eff ))
62+ , stderr :: forall eff . Nullable (Readable () (cp :: CHILD_PROCESS | eff ))
6363 , pid :: Int
6464 , connected :: Boolean
6565 , kill :: Signal -> Boolean
@@ -69,17 +69,17 @@ type ChildProcessRec =
6969
7070-- | The standard input stream of a child process. Note that this is only
7171-- | available if the process was spawned with the stdin option set to "pipe".
72- stdin :: forall eff . ChildProcess -> Writable () (cp :: CHILD_PROCESS | eff ) Buffer
72+ stdin :: forall eff . ChildProcess -> Writable () (cp :: CHILD_PROCESS | eff )
7373stdin = unsafeFromNullable (missingStream " stdin" ) <<< _.stdin <<< runChildProcess
7474
7575-- | The standard output stream of a child process. Note that this is only
7676-- | available if the process was spawned with the stdout option set to "pipe".
77- stdout :: forall eff . ChildProcess -> Readable () (cp :: CHILD_PROCESS | eff ) Buffer
77+ stdout :: forall eff . ChildProcess -> Readable () (cp :: CHILD_PROCESS | eff )
7878stdout = unsafeFromNullable (missingStream " stdout" ) <<< _.stdout <<< runChildProcess
7979
8080-- | The standard error stream of a child process. Note that this is only
8181-- | available if the process was spawned with the stderr option set to "pipe".
82- stderr :: forall eff . ChildProcess -> Readable () (cp :: CHILD_PROCESS | eff ) Buffer
82+ stderr :: forall eff . ChildProcess -> Readable () (cp :: CHILD_PROCESS | eff )
8383stderr = unsafeFromNullable (missingStream " stderr" ) <<< _.stderr <<< runChildProcess
8484
8585missingStream :: String -> String
@@ -217,7 +217,7 @@ type ChildProcessError =
217217data StdIOBehaviour
218218 = Pipe
219219 | Ignore
220- | ShareStream (forall r eff a . Stream r eff a )
220+ | ShareStream (forall r eff . Stream r eff )
221221 | ShareFD FS.FileDescriptor
222222
223223-- | Create pipes for each of the three standard IO streams.
0 commit comments