首页 开发技术 其它     /    childprocess:用于管理子进程的跨平台Ruby库-源码

childprocess:用于管理子进程的跨平台Ruby库-源码

上传者: weixin_42134051 | 上传时间:2021/11/1 17:35:43 | 文件大小:46KB | 文件类型:ZIP
childprocess:用于管理子进程的跨平台Ruby库-源码
子进程这个gem旨在成为一种简单可靠的处理方案,用于控制在Ruby/OS组合中在后台运行的外部程序。
该代码起源于gem,但应证明它是独立的库很有用。
要求Ruby2.4以上版本,JRuby9以上版本Windows用户必须确保安装了ffigem(>=1.0.11)才能使用ChildProcess。
用法从ChildProcess.build返回的对象将实现ChildProcess::AbstractProcess。
基本例子process=ChildProcess.build("ruby","-e","sleep")#inheritstdout/stderrfromparent...process.io.inherit!#...orpassanIOprocess.io.stdout=Tempf 本软件ID:15483766

文件下载

资源详情

[{"title":"(48个子文件46KB)childprocess:用于管理子进程的跨平台Ruby库-源码","children":[{"title":"childprocess-master","children":[{"title":".document <span style='color:#111;'>62B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"childprocess","children":[{"title":"windows","children":[{"title":"structs.rb <span style='color:#111;'>4.90KB</span>","children":null,"spread":false},{"title":"handle.rb <span style='color:#111;'>2.16KB</span>","children":null,"spread":false},{"title":"lib.rb <span style='color:#111;'>11.13KB</span>","children":null,"spread":false},{"title":"process_builder.rb <span style='color:#111;'>4.61KB</span>","children":null,"spread":false},{"title":"io.rb <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"process.rb <span style='color:#111;'>2.77KB</span>","children":null,"spread":false}],"spread":true},{"title":"abstract_process.rb <span style='color:#111;'>3.54KB</span>","children":null,"spread":false},{"title":"jruby","children":[{"title":"pump.rb <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"io.rb <span style='color:#111;'>348B</span>","children":null,"spread":false},{"title":"process.rb <span style='color:#111;'>4.92KB</span>","children":null,"spread":false}],"spread":true},{"title":"windows.rb <span style='color:#111;'>861B</span>","children":null,"spread":false},{"title":"abstract_io.rb <span style='color:#111;'>492B</span>","children":null,"spread":false},{"title":"unix.rb <span style='color:#111;'>207B</span>","children":null,"spread":false},{"title":"tools","children":[{"title":"generator.rb <span style='color:#111;'>3.65KB</span>","children":null,"spread":false}],"spread":true},{"title":"jruby.rb <span style='color:#111;'>1.12KB</span>","children":null,"spread":false},{"title":"unix","children":[{"title":"lib.rb <span style='color:#111;'>5.76KB</span>","children":null,"spread":false},{"title":"posix_spawn_process.rb <span style='color:#111;'>3.33KB</span>","children":null,"spread":false},{"title":"io.rb <span style='color:#111;'>450B</span>","children":null,"spread":false},{"title":"platform","children":[{"title":"x86_64-linux.rb <span style='color:#111;'>324B</span>","children":null,"spread":false},{"title":"i386-solaris.rb <span style='color:#111;'>290B</span>","children":null,"spread":false},{"title":"i386-linux.rb <span style='color:#111;'>324B</span>","children":null,"spread":false},{"title":"x86_64-macosx.rb <span style='color:#111;'>289B</span>","children":null,"spread":false}],"spread":false},{"title":"fork_exec_process.rb <span style='color:#111;'>1.75KB</span>","children":null,"spread":false},{"title":"process.rb <span style='color:#111;'>1.65KB</span>","children":null,"spread":false}],"spread":true},{"title":"errors.rb <span style='color:#111;'>966B</span>","children":null,"spread":false},{"title":"version.rb <span style='color:#111;'>44B</span>","children":null,"spread":false}],"spread":false},{"title":"childprocess.rb <span style='color:#111;'>4.84KB</span>","children":null,"spread":false}],"spread":true},{"title":"Gemfile <span style='color:#111;'>885B</span>","children":null,"spread":false},{"title":"spec","children":[{"title":"platform_detection_spec.rb <span style='color:#111;'>2.82KB</span>","children":null,"spread":false},{"title":"pid_behavior.rb <span style='color:#111;'>338B</span>","children":null,"spread":false},{"title":"childprocess_spec.rb <span style='color:#111;'>10.71KB</span>","children":null,"spread":false},{"title":"jruby_spec.rb <span style='color:#111;'>732B</span>","children":null,"spread":false},{"title":"spec_helper.rb <span style='color:#111;'>5.31KB</span>","children":null,"spread":false},{"title":"io_spec.rb <span style='color:#111;'>4.64KB</span>","children":null,"spread":false},{"title":"get_env.ps1 <span style='color:#111;'>322B</span>","children":null,"spread":false},{"title":"windows_spec.rb <span style='color:#111;'>744B</span>","children":null,"spread":false},{"title":"abstract_io_spec.rb <span style='color:#111;'>276B</span>","children":null,"spread":false},{"title":"unix_spec.rb <span style='color:#111;'>1.83KB</span>","children":null,"spread":false}],"spread":true},{"title":"Rakefile <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'>709B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>7.17KB</span>","children":null,"spread":false},{"title":".rspec <span style='color:#111;'>8B</span>","children":null,"spread":false},{"title":"appveyor.yml <span style='color:#111;'>859B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>207B</span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'>2.70KB</span>","children":null,"spread":false},{"title":"childprocess.gemspec <span style='color:#111;'>1.08KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明