When we run abt.exe, it opens the Transcript (at least). But, does the running abt.exe have a stdout and stderr that could be caught and redirected by the command line used to start it?
I am aware of the -l ("ell") command line option. The documentation doesn't read like it is a real stdout.
On Tue, May 21, 2019 at 7:43 PM Richard Sargent <richard...@gemtalksystems.com> wrote:When we run abt.exe, it opens the Transcript (at least). But, does the running abt.exe have a stdout and stderr that could be caught and redirected by the command line used to start it?You confused me hahhaha. You are talking about Windows concept abt.exe and Unix concepts (stdout/stderr).
I am aware of the -l ("ell") command line option. The documentation doesn't read like it is a real stdout.The documentation https://www.instantiations.com/docs/90/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sg/stug50.htmlsays:On Windows, this option causes terminal (TTY) output to be logged to the file FILENAME. The default is not to log TTY output. If -l is entered without a file name, the output goes to the file ESVMLOG.On UNIX systems, use redirection of stdout and stderr instead of –l. For example, use > ESVMLOG 2>&1 to log to file ESVMLOG.So... all you would need to do is:TranscriptTTY default show: 'foo'.
But notice that you must use TranscriptTTY and not plain Transcript.Does this help?
--Mariano Martinez Peck
Software Engineer, Instantiations Inc.
--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/yNW5WbCXMAA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at https://groups.google.com/group/va-smalltalk.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibGtAg2fbYHJwd_oo%2BE7R3dmqs_4FfX0UUwhz7M5jPBeiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Thu, May 23, 2019 at 4:44 AM 'Mariano Martinez Peck' via VA Smalltalk <va-sma...@googlegroups.com> wrote:On Tue, May 21, 2019 at 7:43 PM Richard Sargent <richard...@gemtalksystems.com> wrote:When we run abt.exe, it opens the Transcript (at least). But, does the running abt.exe have a stdout and stderr that could be caught and redirected by the command line used to start it?You confused me hahhaha. You are talking about Windows concept abt.exe and Unix concepts (stdout/stderr).Windows also has stdout and stderr. It's just that GUI applications tend to make no use of them.
But notice that you must use TranscriptTTY and not plain Transcript.Does this help?But, if I call a C library and it writes to stdout, where will it go?