Skip to content

Commit

Permalink
Enable headless/server platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
lihop authored and imjp94 committed May 31, 2021
1 parent 24ad23b commit 83cd8f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/gd-plug/plug.gd
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ class GitExecutable extends Reference:
cmd = cmd if read_stderr else "%s 2> nul" % cmd
logger.debug("Execute \"%s\"" % cmd)
exit = OS.execute("cmd", ["/C", cmd], blocking, output, read_stderr)
"X11", "OSX":
"X11", "OSX", "Server":
cmd if read_stderr else "%s 2>/dev/null" % cmd
logger.debug("Execute \"%s\"" % cmd)
exit = OS.execute("bash", ["-c", cmd], blocking, output, read_stderr)
Expand Down

0 comments on commit 83cd8f5

Please sign in to comment.