- 专利标题: Emulation of an environment set by a sourced script written in a different scripting language
-
申请号: US16741300申请日: 2020-01-13
-
公开(公告)号: US11074071B1公开(公告)日: 2021-07-27
- 发明人: Scott Miller , Mark Allen , Austen William Lauria , William P. LePera
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Garg Law Firm, PLLC
- 代理商 Rakesh Garg; David Quinn
- 主分类号: G06F9/44
- IPC分类号: G06F9/44 ; G06F8/76 ; G06F8/41 ; G06F8/51 ; G06F9/455
摘要:
An embodiment includes storing original environment data in a memory of a computing device, then sourcing a script in a child command shell that includes an environment variable set-up command for setting an environmental characteristic of a new computing environment associated with the child command shell. The new environment data is also stored in the memory of the computing device that defines the new computing environment associated with the child command shell. The original computing environment is then restored by terminating the child command shell and returning to the target command shell. The original environment data is compared to the new environment data to determine the differences between the two environments, and the original computing environment is then modified to match the new computing environment created by the sourced script.
公开/授权文献
信息查询