Currently the style-queue subprocess gets confused and thinks its the commit-queue. If the patch has an error, it rejects it from the commit-queue. Instead, we should have style-queue specific logic. This patch doesn't add that logic, but it gives us a callback we can use to add that logic.
Created attachment 43975 [details]
I don't understand this patch or why it needs a command-line arg. I think the command-line arg is the part that really confuses me (it's kinda ugly).
The child process needs to know what to do with errors. The command line argument tells the child what command understands the errors and therefore who should process them.
Comment on attachment 43975 [details]
Seems OK. --parent-command would be better as per our discussion.
Committed r51460: <http://trac.webkit.org/changeset/51460>