Skip to content

Commit e13683f

Browse files
committed
fix(cli): return child run result from dev coroutine
2 parents cb3ad41 + 18a52f8 commit e13683f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/commands/run/dev/DevSession.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,10 @@ namespace vix::commands::RunCommand::dev
824824
if (pid < 0)
825825
{
826826
error("Failed to fork() for dev process.");
827-
co_return 1;
827+
828+
co_return DevChildRunResult{
829+
1,
830+
DevChildExitReason::Exited};
828831
}
829832

830833
if (pid == 0)

0 commit comments

Comments
 (0)