Error running bash script - No matching processes
Posted
by
Bashity
on Super User
See other posts from Super User
or by Bashity
Published on 2012-06-24T18:29:55Z
Indexed on
2012/06/24
21:18 UTC
Read the original article
Hit count: 370
I am trying to kill Xcode by running killall Xcode.app
, which works normally when I run it through terminal. However, if I put it into a bash script that I keep on my Desktop called re_xcode
, the script will output the following error. Please can you tell me where I am going wrong?
No matching processes belonging to you were found
The file /Users/Max/Desktop/Applications/Xcode.app does not exist.
#!/bin/bash
killall Xcode.app
open ./Applications/Xcode.app
© Super User or respective owner