fix/procfile-run-command-no-split #318

Merged
vkobel merged 0 commits from refs/pull/318/head into main 2026-06-26 05:42:53 +00:00
vkobel commented 2026-06-23 16:45:47 +00:00 (Migrated from codeberg.org)

from_procfile shlex-split run: into command + args, but the deploy path only runs command via sh -c and ignores args. So everything after the first token got dropped — run: /app --port 8080 ran as sh -c '/app', and FOO=1 /app became sh -c 'FOO=1' (binary never started)

Fix: keep the whole run: string in command.

Follow up bug found, here: https://codeberg.org/caution/platform/issues/319

from_procfile shlex-split run: into command + args, but the deploy path only runs command via sh -c and ignores args. So everything after the first token got dropped — run: /app --port 8080 ran as sh -c '/app', and FOO=1 /app became sh -c 'FOO=1' (binary never started) Fix: keep the whole run: string in command. Follow up bug found, here: https://codeberg.org/caution/platform/issues/319
ryansquared commented 2026-06-24 05:51:38 +00:00 (Migrated from codeberg.org)

we need to keep the shlex split and quote to support automatic escaping of commands. can you readjust this to instead properly include all the necessary values?

we need to keep the shlex split and quote to support automatic escaping of commands. can you readjust this to instead properly include all the necessary values?
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
public/platform!318
No description provided.