Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Process

Index

Properties

pid

pid: number

rid

rid: number

Optional stderr

stderr: Reader & Closer

Optional stdin

stdin: Writer & Closer

Optional stdout

stdout: Reader & Closer

Methods

close

  • close(): void

kill

  • kill(signo: number): void
  • UNSTABLE*: The signo argument may change to require the Deno.Signal enum.

    Send a signal to process. This functionality currently only works on Linux and Mac OS.

    Parameters

    • signo: number

    Returns void

output

  • output(): Promise<Uint8Array>
  • Buffer the stdout until EOF and return it as Uint8Array.

    You must set stdout to "piped" when creating the process.

    This calls close() on stdout after its done.

    Returns Promise<Uint8Array>

status

stderrOutput

  • stderrOutput(): Promise<Uint8Array>
  • Buffer the stderr until EOF and return it as Uint8Array.

    You must set stderr to "piped" when creating the process.

    This calls close() on stderr after its done.

    Returns Promise<Uint8Array>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc