Revert "fix: Temporary disable WaitStatus core dump, continued and stopped states handling due https://github.com/vlang/v/issues/27098 bug"

This reverts commit 7390af4699.
This commit is contained in:
ge
2026-05-31 22:37:42 +03:00
parent 7390af4699
commit 6c3f40179b
2 changed files with 41 additions and 38 deletions
+9 -10
View File
@@ -76,20 +76,19 @@ pub fn (s ProcessState) str() string {
sig_str := os.sigint_to_signal_name(sig)
str = 'signal: ${sig} (${sig_str})'
}
// s.status.stopped() {
// str = 'stop signal: ${s.status.stop_signal()}'
// }
// s.status.continued() {
// str = 'continued'
// }
s.status.stopped() {
str = 'stop signal: ${s.status.stop_signal()}'
}
s.status.continued() {
str = 'continued'
}
else {
str = 'unknown'
}
}
// if s.status.coredump() {
// str += ' (core dumped)'
// }
if s.status.coredump() {
str += ' (core dumped)'
}
return str
}