microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.43k stars 232 forks source link

macos repeated cammand in onData callback #565

Closed xpf0000 closed 1 year ago

xpf0000 commented 1 year ago

Environment details

Issue description

repeated cammand in onData callback, example cammand is 'ls -al', onData callback first output 'ls -al', then output the right data

Tyriar commented 1 year ago

The shell/pty may echo back the command, this is out of scope of node-pty