Spec-Zone.ru › Pony

Exited

[Source]

Process exit status: Process exited with an exit code.

class val Exited is
  Stringable box,
  Equatable[(Exited val | Signaled val)] ref

Implements

  • Stringable box
  • Equatable[(Exited val | Signaled val)] ref

Constructors

create

[Source]

new val create(
  code: I32 val)
: Exited val^

Parameters

  • code: I32 val

Returns

  • Exited val^

Public Functions

exit_code

[Source]

Retrieve the exit code of the exited process.

fun box exit_code()
: I32 val

Returns

  • I32 val

string

[Source]

fun box string()
: String iso^

Returns

  • String iso^

eq

[Source]

fun box eq(
  other: (Exited val | Signaled val))
: Bool val

Parameters

  • other: (Exited val | Signaled val)

Returns

  • Bool val

ne

[Source]

fun box ne(
  that: (Exited val | Signaled val))
: Bool val

Parameters

  • that: (Exited val | Signaled val)

Returns

  • Bool val

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/process-Exited

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API