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
3 posts
• Page 1 of 1
Request: Shell Execute get STDOUT
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,
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.
of any application running externally.
becouse I tried to get this with the ruby, but seems to be no solution,
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
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
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
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.
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
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 80 guests