Commits

Eric Larson  committed 7d8ec92

Catch a keyboard interrupt when running xe run

  • Participants
  • Parent commits 8e363c6

Comments (0)

Files changed (1)

File xenv/models.py

         env = {
             'PATH': self.xenv_fs.path()
         }
-        call(cmd, env=env)
+        try:
+            call(cmd, env=env)
+        except KeyboardInterrupt:
+            pass
 
     def create(self):
         self.xenv_fs.root.mkdir()