Skip to content

Commit

Permalink
fix empty command behavior on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBond committed Dec 18, 2023
1 parent df4b5e4 commit f3146a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ def create_transport(config: TransportConfig, cwd: Optional[str],
else:
stdout = subprocess.PIPE
stdin = subprocess.PIPE
startupinfo = _fixup_startup_args(config.command)
sock = None # type: Optional[socket.socket]
process = None # type: Optional[subprocess.Popen]

def start_subprocess() -> subprocess.Popen:
startupinfo = _fixup_startup_args(config.command)
return _start_subprocess(config.command, stdin, stdout, subprocess.PIPE, startupinfo, config.env, cwd)

if config.listener_socket:
Expand Down

0 comments on commit f3146a7

Please sign in to comment.