Re: [Tutor] commands module

2007-12-06 Thread ds
Evert Rol wrote: >> So, I tried setting COLUMNS equal to 500 (arbitrarily large) prior to >> going into python. It seems to change back to 158 automatically >> however. >> For example, when I go into python, import commands, and execute >> commands.getoutput('set') I find that COLUMNS is back to 1

Re: [Tutor] commands module (Forwarded back to list)

2007-12-06 Thread Evert Rol
> So, I tried setting COLUMNS equal to 500 (arbitrarily large) prior to > going into python. It seems to change back to 158 automatically > however. > For example, when I go into python, import commands, and execute > commands.getoutput('set') I find that COLUMNS is back to 158. So, I > think m

Re: [Tutor] commands module (Forwarded back to list)

2007-12-06 Thread ds
Evert Rol wrote: >> >> I've been trying to do something that I thought was going to be >> >> relatively straight-forward, but so far I haven't found a good solution. >> >> >> >> What I'm trying to do is discover a pid on a process and kill it. The >> >> way that I thought that I could do it is so

Re: [Tutor] commands module

2007-12-06 Thread Evert Rol
> I've been trying to do something that I thought was going to be > relatively straight-forward, but so far I haven't found a good > solution. > > What I'm trying to do is discover a pid on a process and kill it. The > way that I thought that I could do it is something along the lines of: > > im

[Tutor] commands module

2007-12-06 Thread DS
I've been trying to do something that I thought was going to be relatively straight-forward, but so far I haven't found a good solution. What I'm trying to do is discover a pid on a process and kill it. The way that I thought that I could do it is something along the lines of: import commands p