X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/d9531d496d0a655ceb86a210f6466a98df0ca7b6..48fe71f188d0beab363ceaea597df1f09d624e67:/practicas/practica2/P02e1101.sh 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