Looks good. You would typically use `Dir.pwd` instead of `FileUtils.pwd` and `File.join` to join path like in: 
`shell_exec "#{File.join(vmrun_cmd, "vmware_vdiskmanager").shellescape} -d #{name}.vmdk"`