Am 23.11.2010 um 18:55 schrieb Pavel Shramov: > On Tue, Nov 23, 2010 at 05:37:42PM +0100, Michael Haberler wrote: >> here's a patch for reading a hal cmd file with -h <filename>, stolen >> straight from axis >> seems to work for me > Looks fine for me except os.spawnvp. Python docs recommend using > subprocess.call [1]. > Which will look like 'res = subprocess.call(["halcmd", "-f", halfile])'.
I' always aiming for Axis bug compatibility ;-) > But it's not thing that counts :) Now it's working for you? > Pavel > Yess - the Axis+Camera+Gladevcp+pyvcp kitchen sink at work - note enabled widgets in gladevcp window due to hal commands executed: http://imagebin.ca/view/cwxyPxEi.html > -- > [1] http://www.python.org/doc//current/library/os.html#os.spawnvp > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers