V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
CodeDrift
V2EX  ›  问与答

求教。怎么在 windows 上跑 shell 脚本

  •  
  •   CodeDrift · May 7, 2015 · 2230 views
    This topic created in 4012 days ago, the information mentioned may be changed or developed.

    写了个python程序,需要用twisted开个守护进程。用shell调用python启动。

    刚才问经理,说git命令行可以实现类似的功能。那么请问要怎么用呢。。

    http://i.imgur.com/2Rr5uWi.jpg

    5 replies    2015-05-07 21:29:23 +08:00
    CodeDrift
        1
    CodeDrift  
    OP
       May 7, 2015



    @livid v2ex解析。有时候http可以 有时候https可以。。到底哪个。。
    oott123
        2
    oott123  
       May 7, 2015
    最好还是试试 cygwin。
    或者用 bat 重写一下……
    KexyBiscuit
        3
    KexyBiscuit  
       May 7, 2015 via Android
    用 PowerShell 重写
    msg7086
        4
    msg7086  
       May 7, 2015 via Android
    试试msys2
    rrfeng
        5
    rrfeng  
       May 7, 2015
    git windows 版带了 bash 的,用这个 bash 启动 python 即可。(没有试过但是理论上是可以的)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2720 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 14:18 · PVG 22:18 · LAX 07:18 · JFK 10:18
    ♥ Do have faith in what you're doing.