containerd/cmd/ctr/commands/tasks
Daniel Canter 27046a9e06 Fix cwd flag for ctr tasks exec
It seems like the cwd flag isn't used anywhere for ctr tasks exec. This change
just sets the cwd field on the spec for the execed process if a new one was
asked for, otherwise it will continue using whatever was on the containers spec.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-09-02 03:59:56 -07:00
..
attach.go Licence header added 2018-02-19 10:32:26 +09:00
checkpoint.go Add runc.v2 multi-shim 2019-02-21 11:09:46 -05:00
delete.go ctr:Support deleting multiple tasks at a time 2019-07-25 09:59:15 +08:00
exec.go Fix cwd flag for ctr tasks exec 2021-09-02 03:59:56 -07:00
kill.go Support SIGRTMIN+n signals 2021-07-26 09:36:43 -07:00
list.go Update ctr tasks list usage for quiet flag 2018-04-23 14:53:35 -04:00
metrics.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
pause.go Licence header added 2018-02-19 10:32:26 +09:00
ps.go Licence header added 2018-02-19 10:32:26 +09:00
resume.go Licence header added 2018-02-19 10:32:26 +09:00
start.go start.go: Improve help text 2019-12-12 11:19:41 +01:00
tasks_unix.go Run go fmt with Go 1.17 2021-08-22 09:31:50 +09:00
tasks_windows.go Enhance logging driver and ctr tasks to support windows 2021-01-21 12:17:32 -08:00
tasks.go Licence header added 2018-02-19 10:32:26 +09:00