Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d192e3c434 | ||
|
|
6c3a594a14 | ||
|
|
0d07146162 |
No files matched your search
+1
-2
@@ -65,8 +65,7 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||
$null = cmd /c "docker info >NUL 2>&1"
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||
exit 1
|
||||
}
|
||||
|
||||
+1
-2
@@ -65,8 +65,7 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||
$null = cmd /c "docker info >NUL 2>&1"
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -63,8 +63,7 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||
$null = cmd /c "docker info >NUL 2>&1"
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -63,8 +63,7 @@ if (-not (Get-Command docker -ErrorAction SilentlyContinue)) {
|
||||
}
|
||||
# En PS 5.1, *> $null sobre comandos nativos convierte stderr en errores
|
||||
# terminantes con EAP=Stop (PS #4002). Se descarta via cmd /c.
|
||||
$null = cmd /c "docker info >NUL 2>&1"
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
if (-not (cmd /c "docker info >NUL 2>&1")) {
|
||||
Err 'Docker Desktop no responde. Abre Docker Desktop y espera a que arranque.'
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user