Serenity Operating System
at master 20 lines 567 B view raw
1/* 2 * Copyright (c) 2022, MacDue <macdue@dueutil.tech> 3 * 4 * SPDX-License-Identifier: BSD-2-Clause 5 */ 6 7#pragma once 8 9#include <LibCore/Process.h> 10#include <LibGUI/Forward.h> 11 12namespace GUI { 13 14struct Process { 15 static void spawn_or_show_error(Window* parent_window, StringView path, ReadonlySpan<DeprecatedString> arguments); 16 static void spawn_or_show_error(Window* parent_window, StringView path, ReadonlySpan<StringView> arguments); 17 static void spawn_or_show_error(Window* parent_window, StringView path, ReadonlySpan<char const*> arguments = {}); 18}; 19 20}