Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
.command [Where am i?]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jago svensson" data-source="post: 229495"><p>Hi.</p><p>Thanx, but this is exactly what im doing, if I run the script from the terminal</p><p>./script, works perfectly the way its supposed.</p><p>but the thing is that i want to make the script clickable, in finder, i renamed it to script.command, and if i run it from finder, it assumes that its workingdirectory is /Users/jago/</p><p></p><p>instead of /Volumes/BIGMAMA/crypto</p><p>eaven if the script is placed in the lastfolder, and i run it from there.</p><p>Could it be some setings in the terminal?, because i see no expl for it to behave this way.</p></blockquote><p></p>
[QUOTE="jago svensson, post: 229495"] Hi. Thanx, but this is exactly what im doing, if I run the script from the terminal ./script, works perfectly the way its supposed. but the thing is that i want to make the script clickable, in finder, i renamed it to script.command, and if i run it from finder, it assumes that its workingdirectory is /Users/jago/ instead of /Volumes/BIGMAMA/crypto eaven if the script is placed in the lastfolder, and i run it from there. Could it be some setings in the terminal?, because i see no expl for it to behave this way. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
.command [Where am i?]
Top