💻 Software
Running Safari from the command line adds current directory to the URL
Fresh5 days ago
Mar 15, 202616997 viewsConfidence Score0%
0%
Problem
I am trying to run the Safari browser (on Mac OS 10.4) from the command line, as follows: However, Safari starts up and tries to access /Users/charlesanderson/scripts happens to be my current directory. Can someone explain why Safari does this? Firefox is much better behaved.
Error Output
/Applications/Safari.app/Contents/MacOS/Safari http://localhost/dev/myfile.html
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Running Safari from the command line adds current directory to the URL
Low Risk
Starting Safari with arguments isn't supported or documented, AFAIK. It's interpreting the first argument as a path (you'll notice that if you begin it with a , it doesn't prepend the working directory). If you just want Safari to navigate to a URL,…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix