Run external command from RUBE script

General discussion about the R.U.B.E editor
Post Reply
hakonber
Posts: 3
Joined: Thu Sep 26, 2013 12:18 pm

Run external command from RUBE script

Post 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.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Run external command from RUBE script

Post by iforce2d »

Great idea!
It is not possible now, but I will see if it can be done in the next update.
hakonber
Posts: 3
Joined: Thu Sep 26, 2013 12:18 pm

Re: Run external command from RUBE script

Post 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.
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Run external command from RUBE script

Post 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?
Post Reply