Split waf listen command out from vbox command

This commit is contained in:
Justin C. Miller
2018-05-20 17:59:59 -07:00
parent 79b95d0045
commit 3fdf246a22

View File

@@ -294,6 +294,9 @@ def vbox(ctx):
ext = 'qed' ext = 'qed'
dest = os.path.join(os.getenv("VBOX_DEST"), "popcorn.{}".format(ext)) dest = os.path.join(os.getenv("VBOX_DEST"), "popcorn.{}".format(ext))
call("qemu-img convert -f raw -O {} build/popcorn.img {}".format(ext, dest), shell=True) call("qemu-img convert -f raw -O {} build/popcorn.img {}".format(ext, dest), shell=True)
def listen(ctx):
from subprocess import call
call("nc -l -p 5555", shell=True) call("nc -l -p 5555", shell=True)