/* * Copyright (c) 2021, Andreas Kling * Copyright (c) 2022, MacDue * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Core { class Process { public: static ErrorOr spawn(StringView path, Span arguments, DeprecatedString working_directory = {}); static ErrorOr spawn(StringView path, Span arguments, DeprecatedString working_directory = {}); static ErrorOr spawn(StringView path, Span arguments = {}, DeprecatedString working_directory = {}); }; }