Rizin
unix-like reverse engineering framework and cli tools
rzshell_which.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 # SPDX-FileCopyrightText: 2021 ret2libc <sirmy15@gmail.com>
3 # SPDX-License-Identifier: LGPL-3.0-only
4 
5 import os
6 import subprocess
7 import sys
8 
9 current_path = os.path.dirname(os.path.realpath(__file__))
10 shell_finder_py = os.path.join(
11  current_path, "..", "librz", "core", "cmd_descs", "rzshell_which.py"
12 )
13 
14 subprocess.run([shell_finder_py] + sys.argv[1:], check=False)