Administrator
|
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. I am also aware of the OSCall>>#allocConsole method. That may be useful in some scenarios, but redirection to a file is still an issue. Thanks, Seth, for answering this. :-) You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. 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/a223eb9a-a0ec-4219-959b-985df60c78d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. |
Hi Richard,
-- I don't know off the top of my head. When I get some time, I will research this issue and let you know what I find out. - Seth On Tuesday, May 21, 2019 at 6:43:42 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. 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/b6bfcb3e-fb5a-4e03-9b62-e9592a3a3788%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Richard Sargent
On Tue, May 21, 2019 at 7:43 PM Richard Sargent <[hidden email]> wrote:
You confused me hahhaha. You are talking about Windows concept abt.exe and Unix concepts (stdout/stderr).
The documentation https://www.instantiations.com/docs/90/wwhelp/wwhimpl/js/html/wwhelp.htm#href=sg/stug50.html says: 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. Email: [hidden email] Twitter: https://twitter.com/MartinezPeck Blog: https://marianopeck.wordpress.com/You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. 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. |
Administrator
|
On Thu, May 23, 2019 at 4:44 AM 'Mariano Martinez Peck' via VA Smalltalk <[hidden email]> wrote:
Windows also has stdout and stderr. It's just that GUI applications tend to make no use of them.
Yes. TranscriptTTY is a "kind of" stdout. Perhaps it really does use stdout. It's not documented as such.
But, if I call a C library and it writes to stdout, where will it go?
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. 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/CAGNapEM2PYg-0u1yFkFigx8oByEj_dtmd4Yx3DNsgOaDGYUi%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. |
On Thu, May 23, 2019 at 12:27 PM Richard Sargent <[hidden email]> wrote:
Hi Richard, good to know. I learnt something today :)
Good question. I really don't have the answer at hand. I guess I would write a simple C lib that outputs to stdout and then make a FFI call from VAST to see what happens. Cheers, Mariano Martinez Peck Software Engineer, Instantiations Inc. Email: [hidden email] Twitter: https://twitter.com/MartinezPeck Blog: https://marianopeck.wordpress.com/You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. 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/CAOUkibEMvGLfOaDm33L5C8yjt-KNTq7Vnk9v6n2gs74njaFGBQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |