X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/d9531d496d0a655ceb86a210f6466a98df0ca7b6..51f24d14e8c4c52776a98c8e2aaacf95f90ad1f4:/practicas/practica2/P02e1101.sh?ds=sidebyside 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