Page 1 of 1

Run external command from RUBE script

Posted: Thu Sep 26, 2013 12:23 pm
by hakonber
Hi,

Thanks for making the excellent RUBE editor!

I was wondering, is it possible to execute an external command (executable) from a RUBE scrip? There are many use cases where this would be helpful, for example for utilising one of the existing polygon clipping / offsetting tools out there for manipulating fixtures.

Re: Run external command from RUBE script

Posted: Thu Sep 26, 2013 9:44 pm
by iforce2d
Great idea!
It is not possible now, but I will see if it can be done in the next update.

Re: Run external command from RUBE script

Posted: Tue Oct 01, 2013 6:56 pm
by hakonber
iforce2d wrote:Great idea!
It is not possible now, but I will see if it can be done in the next update.
Thanks for considering it! If you implement this, it would be useful if the output from the external command can be returned to the RUBE script.

Re: Run external command from RUBE script

Posted: Wed Oct 02, 2013 9:27 am
by iforce2d
Do you mean the return value from the external program? Or the entire output it writes to the console while running? Do you need to have it separated into stdout and stderr?