ShellExecute in Linux


 
Thread Tools Search this Thread
Top Forums Programming ShellExecute in Linux
# 1  
Old 03-14-2005
ShellExecute in Linux

Hi,

I am porting an application from Win to Linux. In the Win32 application, after the application is installed, it opens the browser for login using the ShellExecute API command. ShellExecute takes in params to open the default browser.

Now I want to replicate the same in Linux. The default browser on my Linux m/c is mozilla.
My m/c's uname -a is
Linux staci21 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 i686 i386 GNU/Linux

Does anyone have any idea or any pointers on how to go about the same ?

Vino
# 2  
Old 03-16-2005
The call you use is specific to the environment you are using, for example, gnome.

There are no true file associations in in Unix. You are better off calling
fork() and exec is equivalent to spawn in Windows.

exec....() - whichever member of the exec family you want.
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
Login or Register to Ask a Question