fish119

windows 下,在 sublimetext 里,用管理员身份打开项目根目录的 cmd

  •  
  •   fish119 · Feb 19, 2018 via Android · 3311 views
    This topic created in 3018 days ago, the information mentioned may be changed or developed.

    实现了一个奇怪的需求,windows 下,在 sublimetext 里,用管理员身份打开项目根目录的 cmd terminal 插件配置如下

    {

    "terminal": "powershell.exe",

    "parameters": [

    "-WindowStyle", "Hidden",

    "-Command", "Start-Process", "-Verb", "RunAs", "cmd.exe",

    "-ArgumentList", "'/k pushd "%CWD%"'"

    ]

    }

    全文链接: http://fish119.site/2018/02/19/Windows10-Sublime-Text-3-%E4%BB%A5%E7%AE%A1%E7%90%86%E5%91%98%E8%BA%AB%E4%BB%BD%E8%BF%90%E8%A1%8CCMD-2/

    1 replies    2018-02-19 22:51:19 +08:00
    weyou
        1
    weyou  
       Feb 19, 2018 via Android
    多谢分享,我觉得这功能挺有用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1014 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:06 · PVG 03:06 · LAX 12:06 · JFK 15:06
    ♥ Do have faith in what you're doing.