| // Copyright 2019 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library test.processbuilder; | |
| type EnvVar = struct { | |
| key string; | |
| value string; | |
| }; | |
| @discoverable | |
| closed protocol Util { | |
| strict GetArguments() -> (struct { | |
| args vector<string>; | |
| }); | |
| strict GetArgumentCount() -> (struct { | |
| count uint64; | |
| }); | |
| strict GetEnvironment() -> (struct { | |
| vars vector<EnvVar>; | |
| }); | |
| strict GetEnvironmentCount() -> (struct { | |
| count uint64; | |
| }); | |
| strict DumpNamespace() -> (struct { | |
| contents string; | |
| }); | |
| strict ReadFile(struct { | |
| path string; | |
| }) -> (struct { | |
| contents string; | |
| }); | |
| strict GetLifecycleKoid() -> (struct { | |
| koid uint64; | |
| }); | |
| }; |