Re: [pygtk] Execution in background

2003-06-11 Thread Antoon Pardon
On Tue, Jun 10, 2003 at 02:27:46PM +, Jean-Baptiste Cazier wrote: Sæll Thanks for the advices. I could nail down the problem to a much smaller test program which shows conflict between rsh and the os.system() (see below) It looks indeed like a general python problem: I think it is a

Re: [pygtk] Execution in background

2003-06-11 Thread Christian Reis
On Wed, Jun 11, 2003 at 01:00:06PM +0200, Antoon Pardon wrote: Replacing the above with lines = string.split(os.popen('rsh -n lcs301 ls|head ').read(),'\n') Usage: rsh [options] host [command] Options: -n Redirect input from /dev/null. Take care, -- Christian

Re: [pygtk] Execution in background

2003-06-10 Thread Jean-Baptiste Cazier
Sæll Thanks for the advices. I could nail down the problem to a much smaller test program which shows conflict between rsh and the os.system() (see below) It looks indeed like a general python problem: I use os.popen in place of os.system. However it does not solve the rsh problem which is

Re: [pygtk] Execution in background

2003-06-09 Thread Christian Reis
On Thu, Jun 05, 2003 at 04:17:43PM +, Jean-Baptiste Cazier wrote: Saell ! When I try to run my program in the background with '', it just stops. If I run it directly there is no problem, but otherwise I need to restart it manually: ~ $ devel/queue/queue.py Queue will refresh every

[pygtk] Execution in background

2003-06-06 Thread Jean-Baptiste Cazier
Saell ! When I try to run my program in the background with '', it just stops. If I run it directly there is no problem, but otherwise I need to restart it manually: ~ $ devel/queue/queue.py Queue will refresh every 60 seconds ~ $ devel/queue/queue.py [2] 21046 ~ $ [2]+ Stopped