Skip to content

Instantly share code, notes, and snippets.

@yevgenko
Created March 31, 2009 02:00
Show Gist options
  • Save yevgenko/88008 to your computer and use it in GitHub Desktop.
Save yevgenko/88008 to your computer and use it in GitHub Desktop.
<?php
require_once 'path/to/symfony/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();
$fs = new sfFilesystem();
$command = sprintf('%s -n "%s" %s', 'path/to/php', 'path/to/project/root/symfony', 'cc');
$res = $fs->sh($command);
echo $res;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment