How do you run the initial .pot file create from PHP?
===

I am busy writing an app that needs to be localized properly but the act of manually creating the portable object templates all the time is tedious. 

Can anyone tell me why this piece of code:

    <?php
    exec("xgettext -d templates/base -s -j -o default.pot templates/base/view.php", $output);
    ?>

is not doing anything but when I run that in the command line it actually populates the default.pot file with the entries it found?
