Login   Register  
PHP Classes
elePHPant
Icontem

XShell: Run an executable program and capture its output

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-08-04 (9 years ago) RSS 2.0 feedStarStarStar 56%Total: 2,023 This week: 2All time: 1,814 This week: 823Up
Version License Categories  
xshell 1.0.0GNU General Public Lice...Console
Description Author  

This is a very simple class can be used to run an executable program and capture its output.

The class takes a command line with program path and eventual arguments and executes the program opening and pipe from which it reads the program output.

The command errors are redirected to the command output stream so the class can capture both the command output and eventual errors into the same return value string.

Picture of Junrey Beduya
Name: Junrey Beduya <contact>
Classes: 3 packages by
Country: Philippines Philippines
Age: 33
All time rank: 3377 in Philippines Philippines
Week rank: 443 Down9 in Philippines Philippines Down

  Files folder image Files  
File Role Description
Plain text file XShell.php Class The class that handles command line execution from within the PHP environment.

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,023All time:1,814
 This week:2This week:823Up
 User Ratings  
 
 All time
Utility:93%StarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1145