On 10 Sep 2016, at 13:28, Joseph Reagle wrote:

Hi, I love QS but I have one thing that annoys me. I've added $HOME/bin to my catalog so I can quickly invoke some shell scripts. However, they aren't interactive and just launch a java and a python app (in subfolders, and need some paths set up). I don't need them to run .bash_profile or .bashrc. In fact, doing so slows things down as they run keychain and ssh-add, which
takes a second or two.

When I invoke one of these scripts, a new tab opens in iTerm2, I see it run .bashrc before running my script, which slows things down. Granted, it's easy to be confused about sh, bash (interactive and login), iTerm2, and QS, but I think I've eliminated the first two, leaving me with a question: how
can I invoke a script without bashrc being invoked.

ird:~$ cat bin/zim
#!/bin/bash
/usr/local/bin/python $HOME/bin/zim-0.65/zim.py &

Try using the “Run […]” action. (The arguments in the third pane are optional.) From glancing at the code, I think that one runs the command outside a shell.

That will just return the text (if any) to QS, which I think it what you want since you said it’s not interactive.

If you actually want the thing in a Terminal window, but without the shell, you might need to create new profile that runs the command without your shell, then tell QS to open that profile. (I know this is possible with Terminal anyway. Not sure about iTerm.)

--
Rob McBroom
http://www.skurfer.com/

--
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.

Reply via email to