This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How to output command line to console/log file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 30, 2015
02:00 AM
How to output command line to console/log file
When we are using "Execute Script/Batch file" action in IA2012, is it able to output the command line and echo command in the batch file to the log file or console? And how?
Thanks in advance!
Thanks in advance!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 30, 2015
09:23 PM
I just find the way to out this command information:
Make sure to store process's stdout in variable $EXECUTE_STDOUT$, and then use System.out.println to output it to console/log file in a custom code.
Make sure to store process's stdout in variable $EXECUTE_STDOUT$, and then use System.out.println to output it to console/log file in a custom code.