We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddd04b6 commit 9ac6637Copy full SHA for 9ac6637
packages/exec/__tests__/scripts/stdoutputspecial.js
@@ -1,5 +1,8 @@
1
//first half of © character
2
process.stdout.write(Buffer.from([0xC2]), (err) => {
3
//write in the callback so that the second byte is sent separately
4
- process.stdout.write(Buffer.from([0xA9])) //second half of © character
+ setTimeout(() => {
5
+ process.stdout.write(Buffer.from([0xA9])) //second half of © character
6
+ }, 5000)
7
+
8
})
packages/exec/src/exec.ts
@@ -82,7 +82,6 @@ export async function getExecOutput(
82
stdout += stdoutDecoder.end()
83
stderr += stderrDecoder.end()
84
85
- //return undefined for stdout/stderr if they are empty
86
return {
87
exitCode,
88
stdout,
0 commit comments