]>
git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/practica2/P02e1101.sh
#!/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