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: 1152871" data-attributes="member: 118353"><p>I wrote a simple shell script with 755 permissions and used lingon to execute the shell script with a user agent -- command string "sh [path to shell script]".</p><p></p><p>#!/bin/bash</p><p></p><p># iphone usb ssh script</p><p></p><p>/Applications/python-client/tcprelay.py -t 22:2222 &</p><p></p><p>However, I was unable to figure out how to force the full command string to execute without a shell script just by running a user agent at logon -- the farthest I got was executing tcprelay.py without the arguments, and am not sure why the arguments are not recognized -- looking in /var/log/system.log revealed that tcprelay.py was being executed without arguments despite the user agent containing the arguments.</p></blockquote><p></p>
[QUOTE="lawlist, post: 1152871, member: 118353"] I wrote a simple shell script with 755 permissions and used lingon to execute the shell script with a user agent -- command string "sh [path to shell script]". #!/bin/bash # iphone usb ssh script /Applications/python-client/tcprelay.py -t 22:2222 & However, I was unable to figure out how to force the full command string to execute without a shell script just by running a user agent at logon -- the farthest I got was executing tcprelay.py without the arguments, and am not sure why the arguments are not recognized -- looking in /var/log/system.log revealed that tcprelay.py was being executed without arguments despite the user agent containing the arguments. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
help: lingon terminal command at startup python string
Top