Timeline for bash -c "exec -a myProcessName ./script.sh &" doesn't send that script into backgound
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 14, 2023 at 15:27 | answer | added | Vitaly | timeline score: 1 | |
| Apr 14, 2023 at 10:36 | comment | added | Marc Le Bihan |
No, I had to explain why I was using exec -a and bash -c together, to avoid being suggested to remove the exec -a, or obtain another response that would not do the renaming of the processes currently expected.
|
|
| Apr 14, 2023 at 10:32 | comment | added | Kamil Maciorowski | Yeah… Because instead of an mcve that presents one problem, you posted a non-minimal script and apparently expect us to debug the whole of it. Background processes blocking the main script and names not being changed are two distinct problems and should be posted as two questions. | |
| Apr 14, 2023 at 9:52 | comment | added | Marc Le Bihan | @KamilMaciorowski I only added the result of what Stéphane suggested me, to show the limit of his solution that covers almost all the question, but not the part about renaming processes. My question has not changed a bit. | |
| Apr 14, 2023 at 9:41 | comment | added | Kamil Maciorowski | Please don't go chameleon. | |
| Apr 14, 2023 at 9:35 | history | edited | Marc Le Bihan | CC BY-SA 4.0 |
added 2275 characters in body
|
| Apr 14, 2023 at 8:57 | answer | added | Chris Davies | timeline score: 1 | |
| Apr 14, 2023 at 8:46 | comment | added | Kamil Maciorowski | Probably it's not about sole commands; it's about command substitutions. See this and this. | |
| Apr 14, 2023 at 8:46 | answer | added | Stéphane Chazelas | timeline score: 4 | |
| Apr 14, 2023 at 8:26 | history | asked | Marc Le Bihan | CC BY-SA 4.0 |