X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/d9531d496d0a655ceb86a210f6466a98df0ca7b6..15d27049e86bc6f836ff6163ea78a8a3e40b3c59:/practicas/practica2/P02e1101.sh?ds=inline diff --git a/practicas/practica2/P02e1101.sh b/practicas/practica2/P02e1101.sh index c5d891e..2978841 100755 --- a/practicas/practica2/P02e1101.sh +++ b/practicas/practica2/P02e1101.sh @@ -1,12 +1,13 @@ #!/bin/sh # Lanzo procesos -./P02e1101 0 & +./P02e1101 0 $1 & +p0=$! +./P02e1101 1 $1 & p1=$! -./P02e1101 1 & # Espero que terminen -wait $! +wait $p0 wait $p1 # Limpio IPC