Hi,

I wanted to run nested commands, but I found one big problem with the 
commands in several projects (symfony, doctrine). If the command fails, it 
should return a numeric exit code (for different errors, different codes). 
I opened PRs https://github.com/symfony/symfony/pull/5586, 
https://github.com/doctrine/dbal/pull/205, 
https://github.com/doctrine/doctrine2/pull/453. Fabien mentioned that for 
user errors should be used exit codes in the 64-113 range (see 
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Process/Process.php#L63
). What is the recommended process? Use return code 1 for simple cases and 
for commands with multiple errors use exit codes in the 63-113 range?

Regards
Martin Hasoň 

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to