Sublime Forum

Piping to `subl` no longer works after ST4 upgrade

#1

Since the upgrade to ST4, I can no longer pipe stdin to the subl command to edit. For example, I would expect this to work:

echo "foo" | /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl

ST is activated but no new document is opened with the echoed content.

1 Like

#2
0 Likes

#3

I would really appreciate having this working again. This is muscle memory for me now, and saying that this was “never supposed to work” isn’t necessarily a valid reason itself to ignore the issue. If the subl command detects STDIN, would it not be possible to just open the piped input without requiring the dash argument?

0 Likes