2023-06-29 19:55:40 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package buildr.rpc.v1;
|
|
|
|
|
|
|
|
message ProcessStartRequest {
|
|
|
|
string command = 1;
|
|
|
|
repeated string args = 2;
|
|
|
|
string working_directory = 3;
|
|
|
|
map<string, string> environment = 4;
|
|
|
|
bytes stdin = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ProcessStartResponse {
|
2023-07-01 11:19:06 +00:00
|
|
|
int32 exit_code = 1;
|
2023-06-29 19:55:40 +00:00
|
|
|
string error = 2;
|
|
|
|
bytes stderr = 3;
|
2023-07-01 11:19:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message LookupPathRequest {
|
|
|
|
string command = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LookupPathResponse {
|
|
|
|
string path = 1;
|
|
|
|
string error = 2;
|
2023-06-29 19:55:40 +00:00
|
|
|
}
|