public static void main( String[] argv ) {

	ProcessableResource pr = null;
	try {

	    java.util.List<String> command = new java.util.LinkedList<String>();
	    // This will print the directory contents of cwd (Linux only)
	    //command.add( "ls" );
	    //command.add( "-l" );

	    // This will call the PHP interpreter to run my test PHP file.
	    // Note that 'php'/php-cli' does NOT print the HTTP response headers!
	    // But 'php-cgi' does :)
	    command.add( "php-cgi" );
	    command.add( "document_root_alpha/php_test/headers.php" );
	    ProcessBuilder pb = new ProcessBuilder( command );

	    pr = new ProcessableResource( null,  // no http handler
					  new ikrs.util.DefaultCustomLogger( "ProcessableResource.main()_TEST" ),
					  pb,
					  null,  // no POST data
					  true   // useFairLocks?
					  );
	    
	    pr.getReadLock().lock();


	    pr.open( true );  // Read-only (actually, writing is not supported here)
	    int b;
	    while( (b = pr.getInputStream().read()) != -1 ) {

		System.out.print( (char)b );

	    }
	    pr.close();
	    

	} catch( IOException e ) {

	    e.printStackTrace();

	} finally {

	    // Dont' forget to unlock!
	    if( pr != null )
		pr.getReadLock().unlock();

	}

    }