about summary refs log tree commit diff stats
path: root/example/jitter/run_with_linuxenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/jitter/run_with_linuxenv.py')
-rw-r--r--example/jitter/run_with_linuxenv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/run_with_linuxenv.py b/example/jitter/run_with_linuxenv.py
index f981d2dd..9b17b172 100644
--- a/example/jitter/run_with_linuxenv.py
+++ b/example/jitter/run_with_linuxenv.py
@@ -78,7 +78,7 @@ elf_phdr_header = next(
 # Prepare the desired environment
 argv = [args.target.encode()] + [arg.encode() for arg in args.extra_args]
 if args.flags:
-    argv += ["-%s" % args.flags]
+    argv += [("-%s" % args.flags).encode()]
 envp = {b"PATH": b"/usr/local/bin", b"USER": linux_env.user_name}
 auxv = environment.AuxVec(
     elf_base_addr + elf_phdr_header.vaddr,