Skip to content

Commit

Permalink
Support GraalPy (#1704)
Browse files Browse the repository at this point in the history
Co-authored-by: Rich Chiodo false <[email protected]>
  • Loading branch information
timfel and rchiodo authored Oct 21, 2024
1 parent 4d86a42 commit d07f941
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/debugpy/launcher/debuggee.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def spawn(process_name, cmdline, env, redirect_output):
else:
kwargs = {}

if sys.platform != "win32":
if sys.platform != "win32" and sys.implementation.name != 'graalpy':
# GraalPy does not support running code between fork and exec

def preexec_fn():
try:
Expand Down

0 comments on commit d07f941

Please sign in to comment.