Last active
December 11, 2015 04:39
-
-
Save tsukkee/4547022 to your computer and use it in GitHub Desktop.
古いVimだと動くけど、最新のVimだと動かない
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echomsg 'begin' | |
python <<EOF | |
# coding: utf-8 | |
import thread | |
import time | |
def func(): | |
for i in range(0, 10): | |
print i | |
time.sleep(1) | |
thread.start_new_thread(func, ()) | |
EOF | |
echomsg 'end' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echomsg 'begin' | |
ruby <<EOF | |
Thread.new do | |
10.times do |i| | |
puts i | |
sleep 1 | |
end | |
end | |
EOF | |
echomsg 'end' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment