mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
19 lines
522 B
C
19 lines
522 B
C
|
/*
|
||
|
* Copyright (c) 2023, Andrew Kaster <akaster@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define AK_DONT_REPLACE_STD
|
||
|
|
||
|
#include <AK/Error.h>
|
||
|
#include <AK/Optional.h>
|
||
|
#include <AK/Span.h>
|
||
|
#include <AK/StringView.h>
|
||
|
#include <LibCore/System.h>
|
||
|
|
||
|
ErrorOr<void> spawn_helper_process(StringView process_name, Span<StringView> arguments, Core::System::SearchInPath, Optional<Span<StringView>> environment = {});
|
||
|
ErrorOr<Vector<String>> get_paths_for_helper_process(StringView process_name);
|