Open Iomegan opened 2 weeks ago
Hey @Iomegan can you try the other execute
-style methods? For example, the overload with mergeStreams: true
? I'm considering deprecating the specific method you're using, since it's proven unwieldy.
withTTY
is the most correct variant of this API, but requires a bit more setup for handling streaming messages.
In some cases the
TTYSTDError
message
, seems to only contains the first few bytes.In my scenario I am trying to send an Apple Script command via SSH like this:
osascript -e 'tell application "Finder" to XYZ'
In the Terminal I get the expected execution error:
29:32: execution error: The variable "XYZ" is not defined. (-2753)
However using Citadel, I only get the first 6 bytes:
29:32:
Code to read the error message:
Both client and server run macOS Sequoia 15.1 (24B83)