En Fri, 16 Jan 2009 23:08:27 -0200, escribiste en el grupo
gmane.comp.python.general
Unknown wrote:
On 2009-01-16, Michael Hoffman <9qobl2...@sneakemail.com> wrote:
Is there a portable way to find the full path of a filename that would
be called by os.execvp()?
The correct answer would be "/
On 2009-01-17, Michael Hoffman <9qobl2...@sneakemail.com> wrote:
> Unknown wrote:
>> On 2009-01-16, Michael Hoffman <9qobl2...@sneakemail.com> wrote:
>>> Is there a portable way to find the full path of a filename that would
>>> be called by os.execvp()?
>>
>> Yes. Use os.path.abspath() on the n
Unknown wrote:
On 2009-01-16, Michael Hoffman <9qobl2...@sneakemail.com> wrote:
Is there a portable way to find the full path of a filename that would
be called by os.execvp()?
Yes. Use os.path.abspath() on the name before you call it with
os.execvp()
That doesn't work:
Python 2.5.2 (r252:
On 2009-01-16, Michael Hoffman <9qobl2...@sneakemail.com> wrote:
> Is there a portable way to find the full path of a filename that would
> be called by os.execvp()?
Yes. Use os.path.abspath() on the name before you call it with
os.execvp()
--
Grant Edwards grante
Is there a portable way to find the full path of a filename that would
be called by os.execvp()?
Thanks,
Michael Hoffman
--
http://mail.python.org/mailman/listinfo/python-list