- Notifications
You must be signed in to change notification settings - Fork928
Commit6c1208e
authored
feat: Clean up coder agent path in
This commit changes the `coder agent` path in `ps` listing from`/tmp/tmp.coderwWs87Y/coder agent` to `./coder agent`.The path is also updated to `/tmp/coder.wWs87Y`.There were two options considered for turning `./coder agent` into`coder agent`:1. Run `exec -a coder /path/to/coder agent`2. Run `PATH=/path/to:$PATH exec coder agent`Option 1 is not supported by `dash`, and thus discarded.Option 2 duplicates functionality in `coder agent` which _appends_ thepath, here we would want to _prepend_ it to ensure we're starting thedownloaded `coder` binary in case there is a binary with a conflictingname on the system.Fixes#2407ps
listing (#2453)1 parent18b0eff commit6c1208e
1 file changed
+14
-10
lines changedLines changed: 14 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
| 22 | + | |
22 | 23 |
| |
| 24 | + | |
23 | 25 |
| |
24 |
| - | |
| 26 | + | |
25 | 27 |
| |
26 |
| - | |
| 28 | + | |
27 | 29 |
| |
28 |
| - | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 | 33 |
| |
32 | 34 |
| |
33 |
| - | |
| 35 | + | |
34 | 36 |
| |
35 | 37 |
| |
36 |
| - | |
| 38 | + | |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 |
| |
44 | 48 |
| |
45 |
| - | |
| 49 | + | |
46 | 50 |
| |
47 | 51 |
| |
48 | 52 |
| |
|
0 commit comments
Comments
(0)