0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 08:58:20 +02:00

modules/console: Hide misleading exit code value until actual exit.

This commit is contained in:
Jason Volk 2020-12-09 20:49:15 -08:00
parent 4b1c8956a6
commit 5a098566ab

View file

@ -16768,7 +16768,7 @@ console_cmd__exec__list(opt &out, const string_view &line)
out
<< " " << exec->id
<< " " << exec->pid
<< " " << exec->code
<< " " << (!exec->pid? lex_cast(exec->code): "-"_sv)
<< " " << exec->path
<< std::endl;
@ -16844,7 +16844,7 @@ console_cmd__app(opt &out, const string_view &line)
<< " " << std::right << std::setw(5) << app->child.id
<< " " << std::right << std::setw(10) << app->event_idx
<< " " << std::right << std::setw(8) << app->child.pid
<< " " << std::right << std::setw(6) << app->child.code
<< " " << std::right << std::setw(6) << (!app->child.pid? lex_cast(app->child.code): "---"_sv)
<< " " << std::left << std::setw(40) << room_id
<< " `" << app->argv.at(0) << "'"
;