RESOLVED FIXED 204778
run-jsc should exit with the same signal or exit status that the `jsc` shell does
https://bugs.webkit.org/show_bug.cgi?id=204778
Summary run-jsc should exit with the same signal or exit status that the `jsc` shell ...
Saam Barati
Reported 2019-12-02 18:44:10 PST
...
Attachments
patch (1.66 KB, patch)
2019-12-02 18:59 PST, Saam Barati
no flags
Saam Barati
Comment 1 2019-12-02 18:59:42 PST
Keith Miller
Comment 2 2019-12-02 19:09:02 PST
Comment on attachment 384677 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=384677&action=review r=me > Tools/Scripts/run-jsc:70 > + system("kill -" . $signal . " " . $PID); # We kill ourselves with the same signal that the `jsc` process was killed with to make it look like `jsc` was directly invoked. Beautiful!
Saam Barati
Comment 3 2019-12-02 20:22:40 PST
Comment on attachment 384677 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=384677&action=review >> Tools/Scripts/run-jsc:70 >> + system("kill -" . $signal . " " . $PID); # We kill ourselves with the same signal that the `jsc` process was killed with to make it look like `jsc` was directly invoked. > > Beautiful! Thanks to your beautiful idea :-)
WebKit Commit Bot
Comment 4 2019-12-02 21:07:22 PST
Comment on attachment 384677 [details] patch Clearing flags on attachment: 384677 Committed r253024: <https://trac.webkit.org/changeset/253024>
WebKit Commit Bot
Comment 5 2019-12-02 21:07:23 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-12-02 21:08:18 PST
Ross Kirsling
Comment 7 2019-12-18 16:41:39 PST
This patch seems to have introduced a strange result when exiting the shell. Direct case: > λ DYLD_FRAMEWORK_PATH=./WebKitBuild/Release ./WebKitBuild/Release/jsc --useDollarVM=1 > >>> <Ctrl+C> > Indirect case: > λ Tools/Scripts/run-jsc > Running 1 time(s): DYLD_FRAMEWORK_PATH=./WebKitBuild/Release ./WebKitBuild/Release/jsc --useDollarVM=1 > >>> <Ctrl+C> > ... I should not be here ... > Obviously a cosmetic issue but it's weird to see every time I exit, hehe.
Saam Barati
Comment 8 2020-01-07 22:40:01 PST
(In reply to Ross Kirsling from comment #7) > This patch seems to have introduced a strange result when exiting the shell. > > Direct case: > > λ DYLD_FRAMEWORK_PATH=./WebKitBuild/Release ./WebKitBuild/Release/jsc --useDollarVM=1 > > >>> <Ctrl+C> > > > > Indirect case: > > λ Tools/Scripts/run-jsc > > Running 1 time(s): DYLD_FRAMEWORK_PATH=./WebKitBuild/Release ./WebKitBuild/Release/jsc --useDollarVM=1 > > >>> <Ctrl+C> > > ... I should not be here ... > > > > Obviously a cosmetic issue but it's weird to see every time I exit, hehe. yeah, that's annoying... Let me remove that.
Note You need to log in before you can comment on or make changes to this bug.