<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;feed=atom&amp;action=history</id>
		<title>Development/Architecture/KDE3/Starting Other Programs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;action=history"/>
		<updated>2013-05-23T13:51:22Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=8965&amp;oldid=prev</id>
		<title>Dhaumann: Development/Architecture/KDE 3 Architecture/Starting Other Programs moved to Development/Architecture/KDE3/Starting Other Programs</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=8965&amp;oldid=prev"/>
				<updated>2007-03-11T21:36:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=Development/Architecture/KDE_3_Architecture/Starting_Other_Programs&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Development/Architecture/KDE 3 Architecture/Starting Other Programs (page does not exist)&quot;&gt;Development/Architecture/KDE 3 Architecture/Starting Other Programs&lt;/a&gt; moved to &lt;a href=&quot;/Development/Architecture/KDE3/Starting_Other_Programs&quot; title=&quot;Development/Architecture/KDE3/Starting Other Programs&quot;&gt;Development/Architecture/KDE3/Starting Other Programs&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:36, 11 March 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Dhaumann</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=7670&amp;oldid=prev</id>
		<title>Dhaumann: Category:KDE3
Category:Architecture</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=7670&amp;oldid=prev"/>
				<updated>2007-01-23T09:38:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;a href=&quot;/Category:KDE3&quot; title=&quot;Category:KDE3&quot;&gt;Category:KDE3&lt;/a&gt; &lt;a href=&quot;/Category:Architecture&quot; title=&quot;Category:Architecture&quot;&gt;Category:Architecture&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:38, 23 January 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Initial Author:'' [mailto:bastian@kde.org Waldo Bastian]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''Initial Author:'' [mailto:bastian@kde.org Waldo Bastian]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:KDE3]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Architecture]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dhaumann</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=7197&amp;oldid=prev</id>
		<title>Dhaumann: port of http://developer.kde.org/documentation/library/kdeqt/kde3arch/exec.html</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Architecture/KDE3/Starting_Other_Programs&amp;diff=7197&amp;oldid=prev"/>
				<updated>2007-01-11T16:02:05Z</updated>
		
		<summary type="html">&lt;p&gt;port of http://developer.kde.org/documentation/library/kdeqt/kde3arch/exec.html&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''KDE Architecture - Starting programs'''&lt;br /&gt;
&lt;br /&gt;
In KDE there are several ways to start other programs from within&lt;br /&gt;
your application. Here is a short summary of your options with reasons why&lt;br /&gt;
you should or should not use them.&lt;br /&gt;
&lt;br /&gt;
;fork + exec&lt;br /&gt;
:You never want to use this unless you have a very good reason why it is impossible to use KProcess.&lt;br /&gt;
&lt;br /&gt;
;KProcess&lt;br /&gt;
:You want to use [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKProcess.html KProcess] class if you need to start a new process which needs to be a child of your process, e.g. because you want to catch stdout/stderr or need to send it data via stdin. You should never use this to start other KDE applications unless your application is called kgdb :-) If you need to send/receive text like data to/from the process, you are probably better off with KProcIO.&lt;br /&gt;
&lt;br /&gt;
;KProcIO&lt;br /&gt;
:Like KProcess. Unlike KProcess, the [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKProcIO.html KProcIO] class actually makes it easy to send data to and receive data from the process.&lt;br /&gt;
&lt;br /&gt;
;startServiceByDesktopPath&lt;br /&gt;
:Preferred way to launch desktop (KDE/Gnome/X) applications or KDE services. The application/service must have a .desktop file. It will make use of KDEinit for increased startup performance and lower memory usage. These benefits only apply to applications available as KDEinit loadable module (KLM).&lt;br /&gt;
&lt;br /&gt;
;KRun&lt;br /&gt;
:Generic way to open documents/applications/shell commands. Uses startServiceBy.... where applicable. Offers the additional benefit of startup-notification.&amp;lt;br/&amp;gt; [http://api.kde.org/3.5-api/kdelibs-apidocs/kio/kio/html/classKRun.html KRun] can start any application, from the binary or the desktop file, it will determine the mimetype of a file before running the preferred handler for it, and it can also start shell commands. This makes KRun the recommended way to run another program in KDE.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Initial Author:'' [mailto:bastian@kde.org Waldo Bastian]&lt;/div&gt;</summary>
		<author><name>Dhaumann</name></author>	</entry>

	</feed>