Skip to content

Terminal stays open after build [Mac] #196

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

Closed
Vancer opened this issue Jan 5, 2018 · 2 comments
Closed

Terminal stays open after build [Mac] #196

Vancer opened this issue Jan 5, 2018 · 2 comments

Comments

@Vancer
Copy link

Vancer commented Jan 5, 2018

Hello, I've previously had the same issue with windows and the Arduino team helped me solve it.

So basically what's happening is that I've set all log flags to false and went through the documentation on how to switch to release build.

I've used the GIN command to switch to release, but still the terminal pops up after running the agent using the direct 'double click' method and from the terminal. How can I prevent the terminal from opening after running the agent?

@facchinm
Copy link
Member

facchinm commented Jan 8, 2018

Hi @Vancer ,
on mac, a program will be launched without the terminal if it is packaged as a .app (nothing more than a folder with a very strict structure and some metadata files in it).
Once you "package" the app, double clicking it (and not the executable) will hide the spawning terminal.

@Vancer
Copy link
Author

Vancer commented Jan 9, 2018

Thanks!

@Vancer Vancer closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants