Jump to content




Ability to terminate processes using multishell API


  • You cannot reply to this topic
8 replies to this topic

#1 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 26 March 2016 - 03:23 AM

One thing that I feel is missing from the Multishell functionality of Advanced Computers is the ability to terminate programs. What I would like this for is to create a process manager program.

#2 AlexDevs

  • Members
  • 72 posts
  • Location~

Posted 26 March 2016 - 01:34 PM

CTRL + T

#3 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 March 2016 - 01:42 PM

View PostAle32bit, on 26 March 2016 - 01:34 PM, said:

CTRL + T

Not sure if trolling or...

#4 MineRobber___T

  • Members
  • 50 posts
  • LocationStop being nosy

Posted 26 March 2016 - 02:50 PM

View PostAle32bit, on 26 March 2016 - 01:34 PM, said:

CTRL + T

I meant using Lua, I'm sorry that I didn't make that clear. The idea would be that the program keeps track of tab IDs and what programs are attached, so you can either kill a program by ID, or you can kill all instances of one program.

#5 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 26 March 2016 - 05:38 PM

os.queueEvent( "terminate" )


#6 moTechPlz

  • Members
  • 40 posts

Posted 26 March 2016 - 07:08 PM

Terminating a specific process is probably not possible without adding some code to multishell.

Edited by moTechPlz, 26 March 2016 - 07:11 PM.


#7 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 March 2016 - 10:30 PM

View PostKingofGamesYami, on 26 March 2016 - 05:38 PM, said:

os.queueEvent( "terminate" )

Multishell prevents certain events (most anything related to user input) from reaching anything other than the currently focused tab. Even if you queued the event and then switched tabs before yielding, it'd likely fail to close the target tab completely (as the event may not close everything, or may be completely ignored by the current process).

#8 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 27 March 2016 - 12:34 PM

I Argree, it would be usefull to have some kind of process library, to talk, start, suspend, continue and stop other programs.

#9 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 16 April 2016 - 08:55 AM

Or just write your own multishell.
[Self promotion]
You can use my multitasking library in my signature, just don't use the things with windows because they don't work for some random reason
[/Self promotion]





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users