open-nomad/drivers/shared/executor
Tim Gross fe29cf8b7b
logs: fix logs.disabled on Windows (#17199)
On Windows the executor returns an error when trying to open the `NUL` device
when we pass it `os.DevNull` for the stdout/stderr paths. Instead of opening the
device, use the discard pipe so that we have platform-specific behavior from the
executor itself.

Fixes: #17148
2023-05-18 09:14:39 -04:00
..
proto [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
test-resources/busybox tests: busybox only depends on arch 2019-01-07 08:36:32 -05:00
exec_utils.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor.go logs: fix logs.disabled on Windows (#17199) 2023-05-18 09:14:39 -04:00
executor_basic.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_linux.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_linux_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_plugin.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_universal_linux.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_unix.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
executor_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
grpc_client.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
grpc_server.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
libcontainer_nsenter_linux.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
pid_collector.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
pid_collector_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugins.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
pty_unix.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
pty_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
resource_container_default.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_unix.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
z_executor_cmd.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00