PhpArrayConverter.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:SublimePhpArrayConverter 作者: gh640 项目源码 文件源码
def prepare_subprocess_args(self):
        popen_args = {
            'args': self.get_php_cmd(),
            'env': self.get_env(),
            'stdin': subprocess.PIPE,
            'stdout': subprocess.PIPE,
            'stderr': subprocess.PIPE,
        }

        # Prevent cmd.exe window popup on Windows.
        if is_windows():
            startupinfo = subprocess.STARTUPINFO()
            startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
            startupinfo.wShowWindow = subprocess.SW_HIDE
            popen_args['startupinfo'] = startupinfo

        return popen_args
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号