depot/third_party/nixpkgs/pkgs/by-name/ga/gamescope/gamescopereaper.patch
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

13 lines
569 B
Diff

diff --git a/src/Utils/Process.cpp b/src/Utils/Process.cpp
index 5688fb1..6cea8d8 100644
--- a/src/Utils/Process.cpp
+++ b/src/Utils/Process.cpp
@@ -392,7 +392,7 @@ namespace gamescope::Process
pid_t SpawnProcessInWatchdog( char **argv, bool bRespawn, std::function<void()> fnPreambleInChild )
{
std::vector<char *> args;
- args.push_back( (char *)"gamescopereaper" );
+ args.push_back( (char *)"@gamescopereaper@" );
if ( bRespawn )
args.push_back( (char *)"--respawn" );
args.push_back( (char *)"--" );