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
Apple Computing Products:
macOS - Operating System
help: lingon terminal command at startup python string
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="lawlist" data-source="post: 1152745" data-attributes="member: 118353"><p>Can anyone please help me figure out how to have a simple command string run in the terminal every time I startup, and have the terminal window close automatically when it is done? I have lingon, which should make it easy, but I still need help. I created a "user agent", but it doesn't seem to be doing the trick and there are no error messages. Here is the string I need to run from terminal every time the computer starts up (and then close the terminal after the string is run):</p><p></p><p>python /Applications/python-client/tcprelay.py -t 22:2222 &</p><p></p><p>Or get to the directory /Applications/python-client, and then run</p><p></p><p>python tcprelay.py -t 22:2222 &</p><p></p><p>Thanks.</p><p></p><p>[ATTACH=full]13962[/ATTACH]</p></blockquote><p></p>
[QUOTE="lawlist, post: 1152745, member: 118353"] Can anyone please help me figure out how to have a simple command string run in the terminal every time I startup, and have the terminal window close automatically when it is done? I have lingon, which should make it easy, but I still need help. I created a "user agent", but it doesn't seem to be doing the trick and there are no error messages. Here is the string I need to run from terminal every time the computer starts up (and then close the terminal after the string is run): python /Applications/python-client/tcprelay.py -t 22:2222 & Or get to the directory /Applications/python-client, and then run python tcprelay.py -t 22:2222 & Thanks. [ATTACH=full]13962[/ATTACH] [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
help: lingon terminal command at startup python string
Top