mirror of
https://github.com/gechandesu/runcmd.git
synced 2026-05-13 11:46:43 +03:00
fix: Temporary disable WaitStatus core dump, continued and stopped states handling due https://github.com/vlang/v/issues/27098 bug
This commit is contained in:
@@ -76,19 +76,20 @@ 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user