Home Download Buy Blog Forum Support

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

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

Postby felixrabe on Wed Nov 21, 2012 3:01 pm

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.
felixrabe
 
Posts: 12
Joined: Tue Oct 16, 2012 10:26 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], fifaworld, qgates and 22 guests