import execa from 'execa' ; export async function runGeneratorBinary ( binaryPath , options ) { const child = execa ( binaryPath ) ; child . stdin ! . write ( JSON . stringify ( options ) + '\n' ) ; return await child ; }