Hello!

I'm having a problem creating one new command to the Felix Shell 1.4.2. My
command just reads one text file and issues other commands. In my text file,
I would have, for example:

start 14
start 15
update 13
start 13

Is is working but I'm having problems regarding the order in which these
command get executed. I need it to wait for the bundle 14 to be effectively
started and only than issue the "start 15" command. But this is not
happening. It sounds like it is creating one thread for each line of my text
file and they are all executing concurrently.

To create my command I have just took a look at the source code for the
shell 1.4.2 and done the command.execute the same way it is been done there.

How can I make sure the command execution is done synchronously instead of
asynchronously, as it seems to be?

Thanks in advance!
Fabio Fonseca
-- 
View this message in context: 
http://old.nabble.com/Felix-Shell-command-to-execute-commands---concurrency-issue-tp33440097p33440097.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to