j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
CommandShellV1-3-1-MVC-patch
Fixes a timing problem for CommandShell pipelines running in MVC. Apply this as an incremental change to CommandShell V1-3.
Symptom: A command line such as '$ ls | edit' or '$ ls | inspect' did not work in an MVC shell window (Morphic was OK). The editor or inspector window would open and display an empty string.
Cause: In MVC, the 'edit' and 'inspect' builtin commands scheduled an editor or inspector window to be opened at a later time using #addDeferredUIMessage:, and then cheerfully went on to close the input pipe for the command prior to the deferred action being executed.
Fix: in a command pipeline, input to the 'edit' and 'inspect' shell builtin commands is now read completely prior to scheduling the editor or inspector window and closing the input pipe.
This change set also fixes a harmless but unappealing buglet in which the last proxy in a command pipeline was sent the #value message twice.
Attachments:
squeak-dev@lists.squeakfoundation.org