212 reputation
111
bio website
location Mars
age 24
visits member for 4 years, 1 month
seen Oct 10 at 5:59

May
9
comment Mac: truly detach process from Terminal.app
@Daniel Feel free to make whatever edits you want. I see you have enough rep and are quite knowledgeable
May
7
comment Mac: truly detach process from Terminal.app
@Daniel Try it. Without the -a launches a new terminal window, which is annoying. With the -a does not, so I would prefer the latter.
May
7
revised Mac: truly detach process from Terminal.app
Noted that the suggested solution works for other programs besides Chrome too
May
7
accepted Mac: truly detach process from Terminal.app
May
7
comment Mac: truly detach process from Terminal.app
@Daniel Beck Apparently this also works: open -a "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
May
7
awarded  Commentator
May
7
comment Mac: truly detach process from Terminal.app
P.S.: I plan to accept your answer in 7 minutes once the timer allows me to
May
7
comment Mac: truly detach process from Terminal.app
Nice! Thanks. Weirdly, if you use the full path to the executable, it spawns a new terminal window: open "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" . Any idea why?
May
7
asked Mac: truly detach process from Terminal.app
Mar
13
comment How can I rotate the screen of a MacBook Pro 90 degrees?
This should have been the accepted answer!
Mar
9
awarded  Teacher
Mar
9
comment Use sed to parse specific values out of a space-separated string
@zhanwu See the edited answer
Mar
9
revised Use sed to parse specific values out of a space-separated string
parse the file line by line
Mar
9
answered Use sed to parse specific values out of a space-separated string
Mar
9
comment bash: source from URL
Clever! Good point though that an attacker could easily feed me any code they want.
Mar
9
comment bash: source from URL
Also, note that this is going in my .bashrc, so technically your solution is infinite recursion. ;) But I know what you meant.
Mar
9
comment bash: source from URL
That works and it's what I'm currently doing, but I was wondering if there's a more elegant way. But maybe this is the best, so if nothing turns up soon I'll accept your answer.
Mar
9
asked bash: source from URL
Oct
24
awarded  Editor
Oct
24
awarded  Supporter