<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[wartet mein programm bis system() fertig ist?]]></title><description><![CDATA[<p>hi folks!</p>
<p>ich habe ein kleines programm geschrieben, dass den windows-port von wget über den system()-call aufruft, und zwar periodisch. direkt nach dem eine datei von wget fertig geladen wurde, wird sie von meinem programm eingelesen, und danach gelöscht. ich bekomme aber dauernd zugriffs-fehler, daraus schliesse ich dass irgendwas die datei immer noch zum schreiben offen hat.</p>
<p>daher meine frage: wartet mein programm bis das mit system() aufgerufene programm fertig ist? oder ist das von programm zu programm unterschiedlich?</p>
<p>vielen dank,</p>
<p>---loki</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/92899/wartet-mein-programm-bis-system-fertig-ist</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 23:42:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/92899.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Nov 2004 12:04:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to wartet mein programm bis system() fertig ist? on Wed, 24 Nov 2004 12:04:30 GMT]]></title><description><![CDATA[<p>hi folks!</p>
<p>ich habe ein kleines programm geschrieben, dass den windows-port von wget über den system()-call aufruft, und zwar periodisch. direkt nach dem eine datei von wget fertig geladen wurde, wird sie von meinem programm eingelesen, und danach gelöscht. ich bekomme aber dauernd zugriffs-fehler, daraus schliesse ich dass irgendwas die datei immer noch zum schreiben offen hat.</p>
<p>daher meine frage: wartet mein programm bis das mit system() aufgerufene programm fertig ist? oder ist das von programm zu programm unterschiedlich?</p>
<p>vielen dank,</p>
<p>---loki</p>
]]></description><link>https://www.c-plusplus.net/forum/post/657923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/657923</guid><dc:creator><![CDATA[loki1985]]></dc:creator><pubDate>Wed, 24 Nov 2004 12:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to wartet mein programm bis system() fertig ist? on Wed, 24 Nov 2004 12:19:27 GMT]]></title><description><![CDATA[<p>createprocess() und waitforsingleobject() wär doch was für dich<br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp</a><br />
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/waitforsingleobject.asp" rel="nofollow">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/waitforsingleobject.asp</a></p>
<p>[edit]<br />
gerade im forum gefunden<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=87464" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=87464</a><br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=73275" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic.php?t=73275</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/657939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/657939</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Wed, 24 Nov 2004 12:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to wartet mein programm bis system() fertig ist? on Wed, 24 Nov 2004 14:11:49 GMT]]></title><description><![CDATA[<p>ok, werde mir das mal anschauen...<br />
das schöne an system() ist in diesem moment halt, dass es supereinfach und IMHO ausreichend für meine zwecke ist.<br />
mein programm ist halt auch keine grosse app, sind bloss 20 zeilen für den privatgebrauch (ist nur ein mini-tool was ein webcam-bild lädt, guckt ob es sich verändert hat und die neuen in einer serie speichert)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/658060</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/658060</guid><dc:creator><![CDATA[loki1985]]></dc:creator><pubDate>Wed, 24 Nov 2004 14:11:49 GMT</pubDate></item></channel></rss>