Hello,
 
My ultimate goal is to get the output from stdout and print it out on the
log of buildbot.
It is a process. I just wanted to make it easy here so you can understand
what i need.
Its on a VxWorks, which doenst support fork() nor exec().
It has just a function taskSpawn() which spawn a Task. This task prints out
few lines on the stdout.

I want to make buildbot run on VxWorks. FileUpload and FileDownload works
fine.
ShellCommand doenst.


I hope you understand now my ultimate goal and thank you for your time.

Best regards.



Dustin J. Mitchell <[email protected]> schrieb am 17:13 Mittwoch, 5.Februar 
2014:
 
What's your ultimate goal here?  It doesn't sound like Process is a
good tool to use on a system that doesn't support processes.

Dustin


On Wed, Feb 5, 2014 at 10:59 AM, Toph Bei Fong <[email protected]> wrote:
> Hello,
> im trying to make Twisted run on an embedded system which doesnt support
> fork() and exec().
> Lets say i have a function os.writeLine(), which just makes a prinft("foo")
> on the stdout.
> I implemented writeLine() in the posixmodule.c of the python so
> os.writeLine() would make the work.
>
>
> Now i would like to create a Process (from buildbot ShellCommand) which just
> calls writeLine() and gets the stdout of it (foo).
> No fork, no exec ..
> std are standards: 0,1 and 2.
> since i tried to understand the class Process(_BaseProcess) in
> (twisted/internet/process) and i couldnt resolve my problem alone, i would
> like to get some help so could someone please point me to the right
> direction ..
>
> best regards ..
>
> _______________________________________________
> Twisted-Python mailing list
> [email protected]
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

>
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to