Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. console.log('before exe invocation') // I see this log
  2. await exec(`${this.exeFileName} "${inputFileName}" "${outputFileName}"`, {
  3. cwd: this.tmpDir
  4. }) // I don't see any logs being emitted from within the exe
  5.  
  6. // return the contents of the generated license file
  7. const outputFilePath = path.resolve(this.tmpDir, outputFileName)
  8. const result = await readFile(outputFilePath, 'utf8')
  9.  
  10. console.log('exe output:', result) //I see this log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement