Skip to content

Instantly share code, notes, and snippets.

@yevgenko
Created March 31, 2009 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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