Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

LSOpenURLsWithRole() failed with error -1712

Hi, I have a bash alias that I set for a command that opens a few local folders and runs some commands. These commands are separated with ";"


Since upgrading to Yosemite, my bash aliases with separated commands fail with error -1712 half of the time.


Here is an example command alias:


alias examplecommand='open ~/Applications; open ~/Documents; open ~/Downloads; open ~/Library'


If I run examplecommand in Terminal, ~/Applications, ~/Documents, and ~/Downloads successfully open in new Finder windows but then I get a Terminal error saying:


LSOpenURLsWithRole() failed with error -1712 for the file /Users/rhaig/Library.


If I don't close any of the windows but then run examplecommand again, It will now open ~/Library and no errors will be reported in the Terminal.


What's going on here? Yosemite breaks commands separated with ; ?


How can I fix this? Thanks!

MacBook Pro (15-inch Late 2011), OS X Yosemite (10.10), 2.5 GHz Core i7, 16GB

Posted on Oct 30, 2014 7:02 PM

Reply
4 replies

LSOpenURLsWithRole() failed with error -1712

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.