Jump to content

[SOLVED] Run a terminal command in background

Recommended Posts

Fundamentally I am looking to do what I can do with Action:Terminal command  (eg run scripts with my normal login environment) in the way that Action:Run script executes in the background without grabbing focus or dumping commands into my existing terminal.    


Can anyone help with this?




Edited by cullenskink
Link to comment

That is the bomb.  


If anyone else is looking for details, I have included the contents of my "Actions|Run script"  here. I use Zsh.  


source ~/.zshrc

#echo $HOME

pbpaste | marked | pbcopy
echo "converted"


#end of script  


The pbpaste...  converts plain text to markup, which is something I do a lot of.   So anyone else just needs to put their bit where that line is.  


Thanks deanishe


Link to comment
  • vitor changed the title to [SOLVED] Run a terminal command in background

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...