cvs commit: hugs98/src machdep.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Thu, 13 Dec 2001 18:13:20 -0800


sof         2001/12/13 18:13:20 PST

  Modified files:
    src                  machdep.c 
  Log:
  startEdit (win32 only): reworked :editor invocation. The following
  behaviour is now implemented:
  
    * :edit is synchronous, causing the interpreter to wait for the
      editor process to complete before returning. If it shuts down
      in an orderly manner, reload the edited script.
    * use CreateProcess() instead of Windows 3.x's WinExec().
    * allocate a new console window for console-based editors, none
      for GUI/windows based ones.
  
  Revision  Changes    Path
  1.33      +67 -6     hugs98/src/machdep.c