lxxgreat / roottools

Automatically exported from code.google.com/p/roottools
0 stars 0 forks source link

Multi process hang #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
> What steps will reproduce the problem?

1. run a command in a new thread and keep the command running
2. run another command in another thread

> What is the expected output? What do you see instead?

I would expect RootTools to spawn two shells and keep both processes running, 
but the second one does not start until the first is finished, unless i run 
them both with "command1 & command2" ... but i need them in two separate 
threads.

> What version of the product are you using? On what operating system?

RootTools 2.2 on Android 4.1.1

Original issue reported on code.google.com by evilsoc...@gmail.com on 30 Aug 2012 at 8:14

GoogleCodeExporter commented 8 years ago
So how are you trying to spawn the two shells?

We don't have this specific functionality atm. If you try to start two root 
shells then you still only get one root shell. However, you can start a root 
shell and a normal shell at the same time. 

I could look at offering this functionality in the future however.

Original comment by Stericso...@gmail.com on 11 Sep 2012 at 4:03

GoogleCodeExporter commented 8 years ago
yep i need to spawn two shells ... but i've solved writing a custom 
implementation of roottools, a minimal one, just to obtain root privileges and 
spawn commands :)

Original comment by evilsoc...@gmail.com on 12 Sep 2012 at 7:46

GoogleCodeExporter commented 8 years ago
I think this is outside the scope of RootTools at the moment, it is something I 
will look at in the future but at the moment I think the need to spawn two 
shells at once and run them at the same time is very small.

Regardless, would you mind sharing the implementation that you wrote? We may 
take that into consideration and your implementation could be used to speed up 
the process of getting this implemented in a later version.

Original comment by Stericso...@gmail.com on 29 Jan 2013 at 9:54