#+TITLE: Code block modifiers

We have the following process, but it will take 5 seconds to start...

#+name: waits-5-seconds
#+begin_src sh :sleep 2
echo "Wait..."
for i in `seq 1 4`;
do
echo $i
echo $i >> out.log
sleep 1
done
echo "Now done!"
#+end_src

This one on the other hand starts as soon as possible:

#+name: does-not-wait
#+begin_src sh 
echo "whoosh" > out.log
#+end_src

#+name: timeout-in-3-seconds
#+begin_src sh :timeout 5
while true; do
  echo "Eventually will timeout..."
  sleep 1
done
#+end_src

#+TITLE: Code block modifiers

We have the following process, but it will take 5 seconds to start...

#+name: waits-5-seconds
#+begin_src sh :sleep 2
echo "Wait..."
for i in `seq 1 4`;
do
echo $i
echo $i >> out.log
sleep 1
done
echo "Now done!"
#+end_src

This one on the other hand starts as soon as possible:

#+name: does-not-wait
#+begin_src sh 
echo "whoosh" > out.log
#+end_src

** COMMENT Fails sometimes

#+name: timeout-in-3-seconds
#+begin_src sh :timeout 5
while true; do
  echo "Eventually will timeout..."
  sleep 1
done
#+end_src

Comment infinite loop from timeout feature
Comment infinite loop from timeout feature
