diff options
| author | Camille Mougey <commial@gmail.com> | 2019-04-12 16:39:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-12 16:39:25 +0200 |
| commit | 74254d1b9174ed9265908d79914f50284c8bd96f (patch) | |
| tree | b3bcf34126c482b213684e94f27856ba8b33e665 /example/jitter/run_with_linuxenv.py | |
| parent | 186aad0a957ab80f9561dd51a69d7bab8569ea73 (diff) | |
| parent | f7c7756a3c8461fc3dfe275cdbcecafd9d94ccc4 (diff) | |
| download | miasm-74254d1b9174ed9265908d79914f50284c8bd96f.tar.gz miasm-74254d1b9174ed9265908d79914f50284c8bd96f.zip | |
Merge pull request #1024 from p-l-/fix-py3
Fix paths with Python 3
Diffstat (limited to 'example/jitter/run_with_linuxenv.py')
| -rw-r--r-- | example/jitter/run_with_linuxenv.py | 2 |
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, |