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
Terminal Kill command
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="zeroq" data-source="post: 729446" data-attributes="member: 68236"><p>Ah right, okay.</p><p></p><p>One final hurdle.</p><p></p><p>Is there a way of automating the second command by taking the correct PID and actioning the command "kill 1234".</p><p>The reason for this is the command will be executed via the "Send Unix Command" feature of Remote desktop, run from one of the shop checkouts.</p><p></p><p>For example;</p><p></p><p>osascript -e 'set volume 0'</p><p></p><p>is the command sent to mute all of the computers, but it only does one job.</p><p></p><p>this new command need to get the output of the first command and then use the correct part of it in the next command.</p><p></p><p>Perhaps an Applescript for this command too?</p></blockquote><p></p>
[QUOTE="zeroq, post: 729446, member: 68236"] Ah right, okay. One final hurdle. Is there a way of automating the second command by taking the correct PID and actioning the command "kill 1234". The reason for this is the command will be executed via the "Send Unix Command" feature of Remote desktop, run from one of the shop checkouts. For example; osascript -e 'set volume 0' is the command sent to mute all of the computers, but it only does one job. this new command need to get the output of the first command and then use the correct part of it in the next command. Perhaps an Applescript for this command too? [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Terminal Kill command
Top