Sublime Forum

Bug: "cat | subl -" as if -w was specified

#1

On OSX with /usr/local/bin/subl -> /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl:

BAD BEHAVIOR: I just found out that “subl -” (opening stdin) works just like “subl -w -”, i.e. “subl” waits for the stdin tab to be closed before returning to the Terminal.

EXPECTED: I’d expect to be able to pipe something to “subl -” and be able to continue using the terminal immediately. If I wanted it otherwise, I’d use “subl -w -”.

In contrast, opening files using “subl” and “subl -w” works as expected.

0 Likes