Jump to content
UBot Underground

Shell Command -Start and Stop


Recommended Posts

Anyone knows how to stop a shell command without having to let it run and close it to continue the rest of the bot. The bot could just run and stop the program by itself..Not sure if I explained that well enough :/

Link to post
Share on other sites

One way would be to open it in a thread. You would execute command inside thread so that you main/UI thread will still be processing code that you have bellow that pint in code. 

  • Like 1
Link to post
Share on other sites

One way would be to open it in a thread. You would execute command inside thread so that you main/UI thread will still be processing code that you have bellow that pint in code. 

Thanks for the reply UbotDev..Any chance you can show an example script of this thread? Thanx.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...