New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: starting Shoes from command line dups app #137

Closed
ccoupe opened this Issue Jul 15, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@ccoupe
Contributor

ccoupe commented Jul 15, 2015

When launching from command line using shoes-launch, two copies of the app are run. One is hidden behind the other. Should probably note in the wiki/readme/manual that the launch command line on OSX is pretty obscure. Paths must be fully expanded - although ~/ does work.

Assume that Shoes.app lives in ~/build/mavericks. The command to launch is

~/build/mavericks/Shoes.app/Contents/MacOS/shoes-launch ~/Projects/shoes3.2/bug136s.rb

That gets you two running windows for bug136s.rb.

Related to issue #20

@ccoupe

This comment has been minimized.

Show comment
Hide comment
@ccoupe

ccoupe Aug 3, 2015

Contributor

This turns out to be a unintended side effect of #127 and noted in #20. shoes.rb (OSX) doesn't expect to have to parse arguments like --console myscript.rb . In modern OSX there is an --args flag to open which Shoes/Optionparser can handle so that Shoes/OSX could be command line friendly like Linux and cshoes.exe for Windows).

Contributor

ccoupe commented Aug 3, 2015

This turns out to be a unintended side effect of #127 and noted in #20. shoes.rb (OSX) doesn't expect to have to parse arguments like --console myscript.rb . In modern OSX there is an --args flag to open which Shoes/Optionparser can handle so that Shoes/OSX could be command line friendly like Linux and cshoes.exe for Windows).

@ccoupe ccoupe self-assigned this Aug 8, 2015

@ccoupe ccoupe added this to the 3.2.24 milestone Aug 8, 2015

@ccoupe

This comment has been minimized.

Show comment
Hide comment
@ccoupe

ccoupe Aug 8, 2015

Contributor

This bug is just how OSX does things. I was using shoes-launch and not the shoes script.
Fixed in 3.2.24 by using cshoes script for command line launching that does the right thing more often.

Contributor

ccoupe commented Aug 8, 2015

This bug is just how OSX does things. I was using shoes-launch and not the shoes script.
Fixed in 3.2.24 by using cshoes script for command line launching that does the right thing more often.

@ccoupe ccoupe closed this Aug 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment