how to run os.execv() to run command pslq dbname < gen.command

Alex Popescu nospam.themindstorm at gmail.com
Sat Aug 4 19:25:16 EDT 2007


Steve Holden <steve at holdenweb.com> wrote in
news:f91uju$130$1 at sea.gmane.org: 

> Sonu wrote:
>> hello all ,
>> 
> I want to watch my TV, but it's not working. Can you tell me how to
> fix it? ...
> 

I can help you... but only with a couple of channels :-).

>> i need to run psql from my py file,,
>> for that i am using : os.execv(path for psql ,['psql dbname <
>> gen.command'])
>> but its not working ..........

I assume the problem relies in the execution pathes, but as Steve has 
mentioned: without further details nobody will be able to help you.

./alex
--
.w( the_mindstorm )p.





More information about the Python-list mailing list