Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/exec/__tests__/scripts/stdoutputspecial.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
//first half of © character
process.stdout.write(Buffer.from([0xC2]), (err) => {
//write in the callback so that the second byte is sent separately
process.stdout.write(Buffer.from([0xA9])) //second half of © character
setTimeout(() => {
process.stdout.write(Buffer.from([0xA9])) //second half of © character
}, 5000)

})
1 change: 0 additions & 1 deletion packages/exec/src/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export async function getExecOutput(
stdout += stdoutDecoder.end()
stderr += stderrDecoder.end()

//return undefined for stdout/stderr if they are empty
return {
exitCode,
stdout,
Expand Down