From c79e673b4eb8bc07a4051b4d4900b79886b34f5d Mon Sep 17 00:00:00 2001
From: madaidan <mad4n0n@protonmail.com>
Date: Wed, 25 Sep 2019 14:39:10 -0700
Subject: [PATCH] Update subprocess.py

---
 libmat2/subprocess.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmat2/subprocess.py b/libmat2/subprocess.py
index 5da393f..fb6fc9d 100644
--- a/libmat2/subprocess.py
+++ b/libmat2/subprocess.py
@@ -51,7 +51,7 @@ def _get_bwrap_args(tempdir: str,
         ['--dev', '/dev',
          '--proc', '/proc',
          '--chdir', cwd,
-         '--tmpfs /tmp',
+         '--tmpfs', '/tmp',
          '--unshare-user-try',
          '--unshare-ipc',
          '--unshare-pid',
@@ -59,7 +59,7 @@ def _get_bwrap_args(tempdir: str,
          '--unshare-uts',
          '--unshare-cgroup-try',
          '--new-session',
-         '--cap-drop all',
+         '--cap-drop', 'all',
          # XXX: enable --die-with-parent once all supported platforms have
          # a bubblewrap recent enough to support it.
          # '--die-with-parent',
-- 
GitLab