<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Hello,</div><div> </div><div>My ultimate goal is to get the output from stdout and print it out on the</div><div>log of buildbot.</div><div>It is a process. I just wanted to make it easy here so you can understand</div><div>what i need.</div><div>Its on a VxWorks, which doenst support fork() nor exec().</div><div>It has just a function taskSpawn() which spawn a Task. This task prints out</div><div>few lines on the stdout.</div><div><br></div><div>I want to make buildbot run on VxWorks. FileUpload and FileDownload works</div><div>fine.</div><div>ShellCommand doenst.</div><div><br></div><div><br></div><div>I hope you understand now my ultimate goal and thank you for your time.</div><div><br></div><div><span></span></div><div>Best regards.</div><div class="yahoo_quoted" style="display:
 block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> Dustin J. Mitchell <dustin@v.igoro.us> schrieb am 17:13 Mittwoch, 5.Februar 2014:<br> </font> </div>  <div class="y_msg_container">What's your ultimate goal here?  It doesn't sound like Process is a<br clear="none">good tool to use on a system that doesn't support processes.<br clear="none"><br clear="none">Dustin<br clear="none"><div class="yqt9732243189" id="yqtfd87211"><br clear="none">On Wed, Feb 5, 2014 at 10:59 AM, Toph Bei Fong <<a shape="rect" ymailto="mailto:toph_ut@yahoo.de" href="mailto:toph_ut@yahoo.de">toph_ut@yahoo.de</a>> wrote:<br clear="none">> Hello,<br clear="none">> im trying to make Twisted run on an
 embedded system which doesnt support<br clear="none">> fork() and exec().<br clear="none">> Lets say i have a function os.writeLine(), which just makes a prinft("foo")<br clear="none">> on the stdout.<br clear="none">> I implemented writeLine() in the posixmodule.c of the python so<br clear="none">> os.writeLine() would make the work.<br clear="none">><br clear="none">><br clear="none">> Now i would like to create a Process (from buildbot ShellCommand) which just<br clear="none">> calls writeLine() and gets the stdout of it (foo).<br clear="none">> No fork, no exec ..<br clear="none">> std are standards: 0,1 and 2.<br clear="none">> since i tried to understand the class Process(_BaseProcess) in<br clear="none">> (twisted/internet/process) and i couldnt resolve my problem alone, i would<br clear="none">> like to get some help so could someone please point me to the right<br clear="none">> direction ..<br
 clear="none">><br clear="none">> best regards ..</div><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> Twisted-Python mailing list<br clear="none">> <a shape="rect" ymailto="mailto:Twisted-Python@twistedmatrix.com" href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br clear="none">> <a shape="rect" href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><div class="yqt9732243189" id="yqtfd62814"><br clear="none">><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>