@@ -57,9 +57,9 @@ runChildProcess (ChildProcess r) = r
57
57
-- | Note: some of these types are lies, and so it is unsafe to access some of
58
58
-- | these record fields directly.
59
59
type 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 ))
63
63
, pid :: Int
64
64
, connected :: Boolean
65
65
, kill :: Signal -> Boolean
@@ -69,17 +69,17 @@ type ChildProcessRec =
69
69
70
70
-- | The standard input stream of a child process. Note that this is only
71
71
-- | 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 )
73
73
stdin = unsafeFromNullable (missingStream " stdin" ) <<< _.stdin <<< runChildProcess
74
74
75
75
-- | The standard output stream of a child process. Note that this is only
76
76
-- | 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 )
78
78
stdout = unsafeFromNullable (missingStream " stdout" ) <<< _.stdout <<< runChildProcess
79
79
80
80
-- | The standard error stream of a child process. Note that this is only
81
81
-- | 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 )
83
83
stderr = unsafeFromNullable (missingStream " stderr" ) <<< _.stderr <<< runChildProcess
84
84
85
85
missingStream :: String -> String
@@ -217,7 +217,7 @@ type ChildProcessError =
217
217
data StdIOBehaviour
218
218
= Pipe
219
219
| Ignore
220
- | ShareStream (forall r eff a . Stream r eff a )
220
+ | ShareStream (forall r eff . Stream r eff )
221
221
| ShareFD FS.FileDescriptor
222
222
223
223
-- | Create pipes for each of the three standard IO streams.
0 commit comments