Sfoglia il codice sorgente

Send the XmlHTTP request

Alex Bennee 16 anni fa
parent
commit
37bba21e40
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pycl.py

+ 1 - 1
pycl.py

@@ -54,7 +54,7 @@ class Handler(BaseHTTPRequestHandler):
             # spawn editor...
             print "Spawning editor... ", f.name
 
-            p = subprocess.Popen(["/usr/bin/emacs", f.name], close_fds=True)
+            p = subprocess.Popen(["/usr/bin/emacsclient", f.name], close_fds=True)
 
             # hold connection open until editor finishes
             p.wait()