On Fri, Mar 29, 2013 at 09:22:52AM -0700, Adrien Kohlbecker wrote:
>
> I was wondering if there was a method to launch a process by its name.
>
> If I do,
>
>   Ruote.define :name => 'my_process' do
>     alpha
>     bravo
>   end
>
> I would like to be able to do later on :
>
>   Ruote.launch('my_process')
>
> I did not find a reference to this in the docs, is it possible ?

Hello Adrien,

Yes, it's possible. Ruote doesn't keep a copy of the named processes it
launches.

Note that it's possible to write

  dashboard.launch('http://defs.example.org/my_process')

if the 'remote_definition_allowed' configuration is set to true:

  http://ruote.rubyforge.org/configuration.html#engine_options

Any valid process definition reachable via a URI, stored or generated on the
fly.

Hartog has authored a library for keeping track of process definitions, maybe
that would help too:

  https://github.com/coffeeaddict/ruote-library


Best regards,

--
John Mettraux   -   http://lambda.io/jmettraux

-- 
-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to