代码搜索结果

找到约 10,000 项符合 State Machine 的代码

09 - controlling a process on another machine.rb

require 'rubygems' require 'net/ssh' def run_remotely(command, host, args) Net::SSH.start(host, args) do |session| session.process.popen3(command) do |stdin, stdout, stderr| yield std

10 - copying a file to another machine.rb

require 'rubygems' require 'net/ssh' def copy_file(session, source_path, destination_path=nil) destination_path ||= source_path cmd = %{cat > "#{destination_path.gsub('"', '\"')}"} session.proc

click a mouse button in a virtual machine.vbs

On Error Resume Next Set objVS = CreateObject("VirtualServer.Application") Set objVM = objVS.FindVirtualMachine("Windows 2000 Server") Set objMouse = objVM.Mouse errReturn = objMouse.SetButton