blob: 21328bff93eb33fcc6ee89f8b4acb4ae7656d7bb [file] [log] [blame]
// 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;
});
};