Cra1g Posted September 11, 2017 Share Posted September 11, 2017 I created a workflow where I enter in a keyword into the Alfred search bar and it runs a Terminal command. However, after it's complete, Terminal remains open. I want to close and quit Terminal after it does its thing instead of remaining open. Is something like this possible? If so, how do I set it up in the workflow? Thanks! Link to comment
Andrew Posted September 11, 2017 Share Posted September 11, 2017 @Cra1g If you just want to run a command, why not use the Run Script action which won't open Terminal at all. If you have to open Terminal, there are plenty of ways to quit Terminal after this. The cleanest would probably be to automatically append exit to your Terminal command. Cheers, Andrew Cra1g 1 Link to comment
Cra1g Posted September 11, 2017 Author Share Posted September 11, 2017 Oh thanks! I don't have any experience with scripts, but I just typed in the Terminal command where the script would go and it seemed to work just fine! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now