
# CommandStatusResponse


## Properties

Name | Type
------------ | -------------
`ok` | boolean
`type` | string
`success` | boolean
`processId` | number
`pid` | number
`status` | string
`known` | boolean
`running` | boolean
`exitCode` | number
`signal` | string
`command` | string
`cwd` | string
`startedAt` | Date
`finishedAt` | Date
`stdout` | string
`stderr` | string
`stdoutTruncated` | boolean
`stderrTruncated` | boolean
`logPath` | string
`errLogPath` | string

## Example

```typescript
import type { CommandStatusResponse } from '@asciidev/box-sdk'

// TODO: Update the object below with actual values
const example = {
  "ok": null,
  "type": null,
  "success": null,
  "processId": null,
  "pid": null,
  "status": null,
  "known": null,
  "running": null,
  "exitCode": null,
  "signal": null,
  "command": null,
  "cwd": null,
  "startedAt": null,
  "finishedAt": null,
  "stdout": null,
  "stderr": null,
  "stdoutTruncated": null,
  "stderrTruncated": null,
  "logPath": null,
  "errLogPath": null,
} satisfies CommandStatusResponse

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as CommandStatusResponse
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
