Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Request: Shell Execute get STDOUT

For general discussion related FlowStone

Request: Shell Execute get STDOUT

Postby Tronic » Thu Apr 18, 2013 2:10 pm

I wish that the original Execute Shell primitive had a chance to take the results from STDOUT and STDERR,
of any application running externally.

becouse I tried to get this with the ruby, but seems to be no solution, :cry:
it seems that the RubyEdit does not have the connection with the internal $stdout or STDOUT,
​​and other oddities in the execution of functions prefect working with a normal ruby installation.


Ruby embedded :?
Solutions?

Thx, hoping in 'attention of the developer.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: Request: Shell Execute get STDOUT

Postby rlr » Fri Apr 19, 2013 2:47 pm

you could ShellExecute 'cmd /c MyScript.cmd'
and in MyScript.cmd:
MyOtherScript.cmd > stdout.txt 2> stderr.txt

http://support.microsoft.com/kb/110930/en-us
rlr
 
Posts: 27
Joined: Tue Jul 13, 2010 9:17 pm

Re: Request: Shell Execute get STDOUT

Postby Tronic » Fri Apr 19, 2013 8:18 pm

hehe, this one is known to me,
but it is not an effective solution,
too many disk accesses to read and write for what I would do, no workaround, but simple pipe connection.
Anyway thank you.
the request remains open.
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm


Return to General

Who is online

Users browsing this forum: No registered users and 89 guests