Search Results

Search: Posts Made By: jonathanwiesel
10,576
Posted By jonathanwiesel
I even tried escaping spaces but didn't work...
I even tried escaping spaces but didn't work either

the file /Applications/Google\ Chrome.app doesn't exist
10,576
Posted By jonathanwiesel
I managed to eliminate the leading spaces but...
I managed to eliminate the leading spaces but that didn't resolve the issue.

(as shown in last line on first post)
The file /Users/myuser/"/Application/Google Chrome.app" does not exist.

the...
10,576
Posted By jonathanwiesel
p={query} number=$(ps aux | grep "${p}" | grep...
p={query}
number=$(ps aux | grep "${p}" | grep -v grep | wc -l)

path=$(ps -A | grep "${p}" | grep -v grep | awk '{$1=$2=$3=""; print $0 }' | awk -F.app '{ print $1 }' | uniq )

if [[ $number...
10,576
Posted By jonathanwiesel
Sorry, I should have said this, the directory I...
Sorry, I should have said this, the directory I try to access is not

/Users/myuser/Applcations/

but the root one:

/Applications/

that's why my path is /Applications/Google Chrome


...
10,576
Posted By jonathanwiesel
open application with spaces in name [bash][OSX]
Hi guys, I'm new here and new to shell scripting so don't be hard on me

I'm trying to create a bash script to restart a process by name in Mac OSX.

I have no problem killing the application,...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy