Angular: ajenti.terminal

Services

class terminals()
terminals.list()
Returns:

promise → array of opened terminal descriptors

terminals.kill(terminalId)

Kills a running terminal process

Returns:

promise

terminals.create(options)

Creates a new terminal

Arguments:
  • options.command (string)

  • options.autoclose (boolean)

Returns:

promise → new terminal ID

terminals.full(terminalId)
Returns:

promise → full content of the requested terminal


Comments

comments powered by Disqus