@mojojs/core
Preparing search index...
util
captureOutput
Function captureOutput
captureOutput
(
fn
:
()
=>
void
|
Promise
<
void
>
,
options
?:
{
stderr
?:
boolean
;
stdout
?:
boolean
}
,
)
:
Promise
<
Buffer
<
ArrayBufferLike
>
>
Capture STDOUT/STDERR output.
Parameters
fn
:
()
=>
void
|
Promise
<
void
>
Optional
options
:
{
stderr
?:
boolean
;
stdout
?:
boolean
}
Returns
Promise
<
Buffer
<
ArrayBufferLike
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mojojs/core
Loading...
Capture STDOUT/STDERR output.