Files
FEX-Emu--FEX/Source/Tools/FEXServer/ArgumentLoader.h
T
Ryan Houdek e03d253310 FEXServer: Adds -w option for waiting on current FEXServer
It can be useful to know in tooling when the current active FEXServer
has exited.

Two things can happen when this command is run.
No FEXServer is active, returns immediately.
A FEXServer is active, we query for a pidfd from the active server, then
we wait until it exits.

Both instances of this is valid to use.
2022-06-24 22:56:13 -07:00

14 lines
230 B
C++

#pragma once
#include <cstdint>
namespace FEXServer::Config {
struct FEXServerOptions {
bool Kill;
bool Foreground;
bool Wait;
uint32_t PersistentTimeout;
};
FEXServerOptions Load(int argc, char **argv);
}