Source

vimpire / vimpire.py

Diff from to

File vimpire.py

             in_dest_dir = True
         for cmd in self.cmds:
             print cmd
-            sp.call(cmd, shell=True)
+            if cmd.startswith('cd'):
+                os.chdir(cmd[2:].strip(' "'))
+            else:
+                sp.call(cmd, shell=True)
             if not in_dest_dir and os.path.exists(self.dest_dir):
                 os.chdir(self.dest_dir)
                 in_dest_dir = True