~matthew-pirocchi/acire/csharp-support

« back to all changes in this revision

Viewing changes to bin/acire

  • Committer: Jono Bacon
  • Date: 2010-03-03 00:20:16 UTC
  • Revision ID: jono@ubuntu.com-20100303002016-x71l2t0upmievfgp
Fix for running modified files that use images to use the current dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
            os.close(tmp_sn_fd)
265
265
            
266
266
        argv = [cmd, tmp_sn_filename]
267
 
        directory = os.path.split(tmp_sn_filename)[0]
 
267
        directory = os.path.dirname(self.current_filename)
268
268
        self.terminal.fork_command(command=cmd, argv=argv, envv=None, directory=directory)
269
269
        self.terminal_expander.set_expanded(True)
270
270
        ###if self.editor_buffer.get_modified() == True: