Wednesday, 7 August 2013

How can I detect the first instance of a command-line Dart program to start?

How can I detect the first instance of a command-line Dart program to start?

I want to run multiple instances of a program from the command-line and I
need to know which is the first to start - I need to synchronize them. I
also need to know that subsequent instances are not the first. Currently I
ask the operator if this is the first-instance, however I would prefer to
not have to do that.
Can anyone suggest a better way to handle that situation.

No comments:

Post a Comment