In python it can be run as a system command by executing the it in the form
of os.system(cmd). However can anybody tell me how  to detect failure of
this command in python.

On Sun, May 3, 2009 at 7:08 AM, Billy Pearson <sa...@pearsonwholesale.com>wrote:

> In php I run exec commands with the job commands and it has a variable that
> stores the exit status code.
>
> Billy
>
>
>
>
> "Mayuran Yogarajah" <mayuran.yogara...@casalemedia.com> wrote in message
> news:49fc975a.3030...@casalemedia.com...
>
>  Billy Pearson wrote:
>>
>>> I done this with and array of commands for the jobs in a php script
>>> checking
>>> the return of the job to tell if it failed or not.
>>>
>>> Billy
>>>
>>>
>>>  I have this same issue.. How do you check if a job failed or not? You
>> mentioned checking
>> the return code? How are you doing that ?
>>
>> thanks
>>
>>> "Dan Milstein" <dmilst...@hubteam.com> wrote in
>>> message news:58d66a11-b59c-49f8-b72f-7507482c3...@hubteam.com...
>>>
>>>  If I've got a sequence of streaming jobs, each of which depends on the
>>>> output of the previous one, is there a good way to launch that sequence?
>>>> Meaning, I want step B to only start once step A has  finished.
>>>>
>>>> From within Java JobClient code, I can do submitJob/runJob, but is there
>>>> any sort of clean way to do this for a sequence of streaming jobs?
>>>>
>>>> Thanks,
>>>> -Dan Milstein
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>


-- 

James Thurber<http://www.brainyquote.com/quotes/authors/j/james_thurber.html>
- "Women are wiser than men because they know less and understand
more."

Reply via email to