作者: Jim Wang 公众号: 巴博萨船长

摘要:Python 是如何访问和控制系统的环境变量的,Python中的父进程与子进程间的环境变量关系是何?能不能在运行时修改环境变量?子进程中对环境变量修改能不能传递给对父进程?如果能,怎么样实现这样的变化?如何使用subprocess.Popen运行vcvars.bat,然后在持续集成时,完成devenv清理和创建的前期准备。

Abstract: How does Python access and control the system‘s environment variables? What is the relationship between the environment variables of the parent process and the child process in Python? Can environment variables be modified at runtime? Can the modification of environment variables in the child process be passed to the parent process? If so, how to achieve such a change? How to use subprocess.Popen to run vcvars.bat, and then complete the preliminary preparations for the Clean and Build of devenv during CI.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:Inno Setup 生成的安装包是如何在安装的过程中注册COM组件DLL文件的,.NET的DLL为什么需要注册?如何将.NET程序集安装到GAC中,这样做的目的又是什么?在这项任务的一开始,我也有类似的疑问,查找归纳后就有了这篇文章。

Abstract: How does the installation package generated by Inno Setup register COM component DLL files during installation? What is the difference between .NET DLL and general DLL registration?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

在转移自己的文章的时候发现了一个很有意思的事情,现在记录下来,咱们一起看看问题在哪。问题是这样的的,我之前的文章有如下文字

1
ExtractTemporaryFile('{#DotNetFrameWorkWebInstaller}');

如果上述字符以纯文本的形式,即非代码样式和引用样式存在于md文件中,如果这时尝试使用hexo s命令的话,就会有如下异常被抛出。

阅读全文
作者的图片

Jim Wang


全栈探索之路
记录个人对技术的理解和开发过程中遇到的问题,欢迎了解更多。

软件工程师


河南,中国
global.wechat_public_qr_code_image

请扫描上方的二维码订阅我的个人微信公众号


原创不易,多多点赞分享支持。

global.wechat_public_search_bar_image