bash

Get Process Output

Changed on

Retrieves the output of a background process by its ID.

get/api/bash/process/{pid}/output

Request

  • Base URL
    http://localhost:4242/your-computer-name
  • URL
    http://localhost:4242/your-computer-name/api/bash/process/{pid}/output
  • Auth
    none declared

Path parameters

pidinteger required

Response

Successfully retrieved process output

outputstring nullable

Command output if available

process_idinteger nullable

Process ID if running in background

statusstring

Command status: 'completed' or 'background'

Example response

{
  "output": "total 20\ndrwxr-xr-x  3 user  group   96 Mar 10 12:34 .",
  "status": "completed"
}

Changes