promisifyChildProcess<T>(child: T): Promise<string> & T
Takes in a function that returns a child process, and returns a function
that returns an object that combines that same child process with
a promise that resolves to the string value of stdout when that
process exits.
Takes in a function that returns a child process, and returns a function
that returns an object that combines that same child process with
a promise that resolves to the string value of stdout when that
process exits.
Parameters
Rest...args: TArgs
Returns Promise<string> & TReturn
Takes in a a child process, and returns an object that combines that same child process with
a promise that resolves to the string value of stdout when that process exits.
Takes in a function that returns a child process, and returns a function that returns an object that combines that same child process with a promise that resolves to the string value of stdout when that process exits.