Sys::VirtConvert::ExecHelper man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

Sys::VirtConvert::ExecUsereContributed Perl DocSys::VirtConvert::ExecHelper(3)

NAME
       Sys::VirtConvert::ExecHelper - Execute a command with output
       suppression

SYNOPSIS
	use Sys::VirtConvert::ExecHelper;

	$eh = Sys::VirtConvert::ExecHelper->run('rpm', '-V', 'bash');

	if($eh->status() != 0) {
	    warn $eh->output();
	}

DESCRIPTION
       Sys::VirtConvert::ExecHelper is a substitute for system() when you
       don't want any command output. Sys::VirtConvert::ExecHelper does,
       however, make STDOUT and STDERR available in a combined stream if it is
       required, for example because the executed command failed.

METHODS
       run(@command)
	   Run @command, which is an array containing the command and its
	   arguments.

	   The command will be executed immediately. ExecHelper will block
	   until the command exits.

       status
	   Return the exit status of the executed command.

       output
	   Return the combined stdout and stderr of the command.

	   WARNING: This command puts the output in a string in memory. Don't
	   use this if the output could be large.

COPYRIGHT
       Copyright (C) 2009 Red Hat Inc.

LICENSE
       Please see the file COPYING.LIB for the full license.

SEE ALSO
       virt-v2v(1), <http://libguestfs.org/>.

perl v5.10.1			  2013-11-21   Sys::VirtConvert::ExecHelper(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net