We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用ruby对phptrace进行了封装,封装后执行phptrace -p all命令,每访问8次php文件,才会出现一次输出,每次输出会将8次执行的结果一起输出。请问是什么原因,应该如何解决? ` require 'open3'
cmd = 'sh'
Open3.popen2e(cmd) do |stdin, stdout_stderr, wait_thread| Thread.new do stdout_stderr.each {|l| puts l } end
stdin.puts 'phptrace -p all' stdin.close
wait_thread.value end `
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
我使用ruby对phptrace进行了封装,封装后执行phptrace -p all命令,每访问8次php文件,才会出现一次输出,每次输出会将8次执行的结果一起输出。请问是什么原因,应该如何解决?
`
require 'open3'
cmd = 'sh'
Open3.popen2e(cmd) do |stdin, stdout_stderr, wait_thread|
Thread.new do
stdout_stderr.each {|l| puts l }
end
stdin.puts 'phptrace -p all'
stdin.close
wait_thread.value
end
`
The text was updated successfully, but these errors were encountered: