Google
  Web www.spinics.net

Re: Equivalent of MS DOS "start" command.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 03/03/2011 08:36 AM, Vernon Cole wrote:
In gnome, I can click on a file and the correct application to open it
will be started.
ï In Windows, I can get the same functionality from the command line by
typing "start (somefilename)"
ï I can't seen to find an equivalent feature in Linux, so am beginning
to suspect that it is gnome matching up the file with its application.
ï If I were to start writing such a utility, where would I find sample
code how the GUI does it? Or is there already a POSIX command and I've
never run across it?
ï (What I'm actually trying to do is implement Python "os.startfile" on
Linux.)

Try:

xdg-open yourfile

- Mike
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list



[Home]     [Fedora Desktop]     [Kernel List]     [Red Hat Install]     [KDE]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

Add to Google Powered by Linux