-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
process-compose.dev = {
debug = true;
tui = false;
settings = {
processes = {
web = {
command = "echo $PWD";
working_dir = with {p = toString ./api;}; builtins.trace p p;
};
};
};
};output:
processes:
web:
command: echo $PWD
working_dir: /nix/store/3cb5iy8l8hffi5cpmxx3dm2sx7gfk4a1-source/api
shell:
shell_argument: -c
shell_command: /nix/store/mh1c3p23xby3chc3q0c0g78fa1nn65yw-bash-5.2-p15/bin/bash
[web_1 ] /home/foxpro/craft/sferadel/next
It doesn't work even with under $HOME:
web = {
command = "bash -c \"echo $PWD; (cd /home/foxpro/craft/sferadel/next/api; echo $PWD)\"";
working_dir = "/home/foxpro/craft/sferadel/next/api";
};processes:
web:
command: bash -c "echo $PWD; (cd /home/foxpro/craft/sferadel/next/api; echo $PWD)"
working_dir: /home/foxpro/craft/sferadel/next/api
shell:
shell_argument: -c
shell_command: /nix/store/mh1c3p23xby3chc3q0c0g78fa1nn65yw-bash-5.2-p15/bin/bash
[web_1 ] /home/foxpro/craft/sferadel/next
[web_1 ] /home/foxpro/craft/sferadel/next
Metadata
Metadata
Assignees
Labels
No labels