I envison to have --quiet and --debugoutput FILENAME as options in the future. For an end-user it is difficult to separate application output/error from VM one (e.g. the infamous thread priority warning). You can view, comment on, or merge this pull request online at:https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/395 Commit Summary
File Changes
Patch Links:
— |
@bencoman commented on this pull request. In platforms/unix/vm/sqUnixMain.c: > @@ -863,13 +863,13 @@ sqInt primitivePluginRequestState(void) { return dpy->primitivePluginRequestSta static void outOfMemory(void) { - /* pushing stderr outputs the error report on stderr instead of stdout */ + /* pushing VM_ERR() outputs the error report on VM_ERR() instead of stdout */ What is the significance of changing this comment? (I'm not familiar with pushOutputFile) In platforms/unix/vm/sqUnixMain.c: > pushOutputFile((char *)STDERR_FILENO); error("out of memory\n"); } /* Print an error message, possibly a stack trace, do /not/ exit. - * Allows e.g. writing to a log file and stderr. + * Allows e.g. writing to a log file and VM_ERR(). Same again. Search/replaced within comment useful? — |
In reply to this post by David T Lewis
An expansive scattering of changes, but pretty much all of them are...
And the following seems correct to align with sq.h...
— |
In reply to this post by David T Lewis
Hi Holger,
bin/squeak my image.image 2>/dev/null & Where does this not work? — |
In reply to this post by David T Lewis
It takes the ability from an application author to use stderr. I look at it from the point of view of using the "ecstatic" cli application (pillar to html) and the scheduler param warning printed by the VM really takes away from the quality/usefulness of the app (I have neither seen this with python, ruby, java, libstdc++ runtimes). There are probably more elegant ways to achieve this but wanted to get a discussion started. — |
In reply to this post by David T Lewis
Closing as contributing seemed too hard. — |
In reply to this post by David T Lewis
Closed #395. — |
Free forum by Nabble | Edit this page |