Sha256: 92cca502c19fdf30784db470ff6f08778397766e9578eb30053094f4347f4b8b

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

#+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 1
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

*** TODO The following should not be necessary

Need to fix this:

#+name: just-sleeps
#+begin_src sh
sleep 5
#+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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
org-converge-0.0.17 spec/converge_examples/block_modifiers/run.org
org-converge-0.0.16 spec/converge_examples/block_modifiers/run.org