[Rock-dev] Redirecting STDOUT/STDERR for a deployment

Jakob Schwendner jakob.schwendner at dfki.de
Wed Jul 18 15:46:23 CEST 2012


hi chris,

On 07/18/2012 03:18 PM, Chris Mueller wrote:
> Hi,
>
> does anyone know how i can redirect STDOUT and STDERR for a running
> deployment/task into e.g. a file via the orocos.rb interface?
>
> Orocos.run "deployment" do |proc|
>      task = TaskContext.get "task"
> end
you could try to use Orocos.run "deployment", :output => file do |proc|
This is an option on the Bundles interface. Not sure if it is also in 
the orocos interface. And I am also not sure what file should be.

cheers,

Jakob



More information about the Rock-dev mailing list