os.spawn[*] help

S

Stephen Boulet

Can someone who understands the os module better than I offer some insight?

I want to open some text in xemacs (on Windows) using os.spawn[*], but I want
the text to appear in the current xemacs window, as opposed to opening a new
xemacs window.

Is this doable? Thanks.

-- Stephen
 
P

Peter Hansen

Stephen said:
Can someone who understands the os module better than I offer some insight?

I want to open some text in xemacs (on Windows) using os.spawn[*], but I want
the text to appear in the current xemacs window, as opposed to opening a new
xemacs window.

Is this doable? Thanks.

I doubt this has anything to do with os.spawn, and everything to do with
xemacs itself. Check the documentation on command line options for that
program, and just pass the right stuff to it through os.spawn.

-Peter
 
A

Antti Kaihola

Stephen said:
I want to open some text in xemacs (on Windows) using os.spawn[*], but I
want the text to appear in the current xemacs window, as opposed to
opening a new xemacs window.

If you can do it from the command line, you can do it from Python. Use
gnuserv and gnuclient (maybe gnuclientw in windows). See the xemacs docs
for more accurate information--I haven't used xemacs on windows.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top