summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Process.h
blob: a848d97b9a70da42a7642a4a01af8082c4196f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2022, MacDue <macdue@dueutil.tech>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibCore/Process.h>
#include <LibGUI/Forward.h>

namespace GUI {

struct Process {
    static void spawn_or_show_error(Window* parent_window, StringView path, Span<DeprecatedString const> arguments);
    static void spawn_or_show_error(Window* parent_window, StringView path, Span<StringView const> arguments);
    static void spawn_or_show_error(Window* parent_window, StringView path, Span<char const* const> arguments = {});
};

}