Skip to main content
POST
Close stdin
Close a process’s stdin pipe and deliver EOF. The process must be started with stdin_mode: "pipe" for this endpoint to work.

Endpoint

Example Request

Response

Tensorlake returns 204 No Content when stdin is closed. If stdin was not opened in pipe mode, Tensorlake returns 400 Bad Request. Missing processes return 404 Not Found.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pid
integer<int32>
required

The operating system PID of the process.

Response

Stdin closed