projects
/
osm
/
vim-emu.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix: Allow CORS to fetch emulator state
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
util
/
process_utils.py
1
import
logging
2
import
subprocess
3
import
time
4
5
6
def
wait_until
(
cmd
):
7
logging
.
debug
(
'waiting for
%s
\n
'
%
cmd
)
8
while
subprocess
.
call
(
cmd
,
shell
=
True
) !=
0
:
9
time
.
sleep
(
1
)