[process][darwin] Fix Test_Process_Status and Status returning more than status letter

pull/800/head
Lomanic 5 years ago
parent a8fd6e1956
commit 8e4dde660a

@ -199,7 +199,7 @@ func (p *Process) StatusWithContext(ctx context.Context) (string, error) {
return "", err
}
return r[0][0], err
return r[0][0][0:1], err
}
func (p *Process) Foreground() (bool, error) {

Loading…
Cancel
Save