cd tmp/

read nbProcess < nbProcess

echo "give the number of the process to be restarted (1..$nbProcess) [1] "
read number
if [ 'a'$number = 'a' ]
then
number = 1
fi

read redirection < redirection

cd process_$number
if 
test $redirection -eq 1
then
echo 'warning: due to the process halt, some results may have been lost and not written into the output file !!!'
fi
../../basic_scripts/process_input_file 

 
