/dev/null || true'"; } if (isSafeTmpPath($tmpPath)) { $commands[] = "docker exec {$container} sh -c 'rm ".escapeshellarg($tmpPath)." 2>/dev/null || true'"; } if (! empty($commands)) { $server = Server::find($serverId); if ($server) { instant_remote_process($commands, $server, throwError: false); } } } } }