#! /usr/bin/env python

import subprocess
import time

#self.execute("M66 E0 P0")
subprocess.call("halcmd setp halui.program.pause true", shell=True)
time.sleep(0.1)
subprocess.call("halcmd setp halui.program.block-delete.off true", shell=True)
time.sleep(0.1)
subprocess.call("halcmd setp halui.program.block-delete.off false", shell=True)
time.sleep(0.1)
subprocess.call("halcmd setp halui.program.resume true", shell=True)
time.sleep(0.1)
