【问题标题】:Terminal emulator not spawning process终端模拟器没有产生过程
【发布时间】:2013-12-21 14:49:48
【问题描述】:

C:/Program Files (x86)/emacs-24.2/bin/cmdproxy.exe(随 Emacs 副本提供的那个)没有在 terminal-emulator 中启动,无论我尝试使用 eval 还是 M-x 。也不是任何其他 CLI,例如 C:/Program Files (x86)/Git/bin/sh.exeD:/user_files/Downloads/plink.exe

返回:

应用:产生子进程:无效参数

交互运行时 (M-x)

Debugger entered--Lisp error: (file-error "Spawning child process" "invalid argument")
  signal(file-error ("Spawning child process" "invalid argument"))
  byte-code("\301 \210\302@A\"\207" [err fundamental-mode signal] 3)
  terminal-emulator("*PUTTY-RUNNING-TAIL*" "D:/user_files/Downloads/plink.exe" ("10.10.0.145"))
  eval((terminal-emulator "*PUTTY-RUNNING-TAIL*" "D:/user_files/Downloads/plink.exe" (cons "192.168.10.8" nil)) nil)
  eval-expression((terminal-emulator "*PUTTY-RUNNING-TAIL*" "D:/user_files/Downloads/plink.exe" (cons "192.168.10.8" nil)) nil)
  call-interactively(eval-expression nil nil)

eval ((terminal-emulator "*PUTTY-RUNNING-TAIL*" "D:/user_files/Downloads/plink.exe" (cons "192.168.10.8" nil))) 运行时。

这是一个错误还是我遗漏了什么?

【问题讨论】:

    标签: emacs elisp terminal-emulator


    【解决方案1】:

    恐怕您的问题的根本原因是terminal-emulator 代码((start-process "terminal-emulator" (current-buffer) "/bin/sh" "-c" ...)中的硬编码/bin/sh。您可以尝试将其更改为对您有效的 shell,但我对结果并不乐观。

    请参阅this question,了解基于 Windows 平台中 Emacs 下不同类型终端仿真的类似问题。

    【讨论】:

    • 那么我想这是一个错误,在 Emacs 的 Windows 端口中。
    猜你喜欢
    • 2019-12-17
    • 1970-01-01
    • 2022-10-16
    • 1970-01-01
    • 2011-08-02
    • 2021-12-25
    • 1970-01-01
    • 2019-04-29
    • 1970-01-01
    相关资源
    最近更新 更多