Skip to content

Fix $type being stripped from live command payload#655

Open
JosueNina wants to merge 1 commit into
QuantConnect:masterfrom
JosueNina:bug-633-shell-expansion-type
Open

Fix $type being stripped from live command payload#655
JosueNina wants to merge 1 commit into
QuantConnect:masterfrom
JosueNina:bug-633-shell-expansion-type

Conversation

@JosueNina

Copy link
Copy Markdown
Collaborator

$type in lean live command payloads was stripped on Linux/macOS because the command ran through the host shell, which replaced $type with an empty value and broke the JSON. It's now passed as a list (no shell=True) so the host shell never touches the payload.

Closes #633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] lean live command fails on Linux when payload contains $type due to shell expansion

2 participants