Re: linux clipboard?

2006-03-07 Thread david . humpherys
ah.. ok. gnome it is. are there py commands for gnome? -- http://mail.python.org/mailman/listinfo/python-list

Re: linux clipboard?

2006-03-07 Thread david . humpherys
ah.. ok. gnome it is. are there py commands for gnome? -- http://mail.python.org/mailman/listinfo/python-list

linux clipboard?

2006-03-07 Thread david . humpherys
how can i copy text to the linux clipboard? I've seen a number of posts explain how to do it with tk is this the only way? (i'm not using tk as my gui tool kit.) many thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: winnt win32process.createProcess with stdout to file ?

2005-03-04 Thread david . humpherys
Aweseome! Many many thanks Roger ! You've made my day. The last thing that you may be able to help with... I'm using win32api.TerminateProcess(hProcess,3) to kill this process if it gets outta hand... but when i do so.. it seems that the stdout/stderr don't capture the output. here's my last chun

Re: winnt win32process.createProcess with stdout to file ?

2005-03-03 Thread david . humpherys
Roger, I updated the script (below).. but now I get errors... many thanks for your help. import win32process, win32file, win32security, win32con, win32api, thread, win32event, win32pipe cmd = "c:/myexe.exe" sa = win32security.SECURITY_ATTRIBUTES() sa.bInheritHandle = 1 startInfo = win32process.S

winnt win32process.createProcess with stdout to file ?

2005-03-03 Thread david . humpherys
os:winnt python2.3.2 I have a exe that dumps info to the command line. I want to run this process and capture the stdout into a file. I think i'm close... any help appreciated. dh -- import win32process, win32file, win32se