<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Da, asta era problema:). Multumesc mult!<br></div> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Silvia Marcu <silviamarcu90@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Stanciu Alexandru <the_marian_2006@yahoo.com>; Sisteme de Operare <so@cursuri.cs.pub.ro> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 23, 2012 7:16 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [so] Testul 3 Windows<br> </font> </div> <br>
<div id="yiv763746365"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit;"><div>Buna,</div><div><br></div>Am avut si eu problema asta. Cauza era ca nu alocam suficient spatiul pentru comanda pe care i-o dadeam ca parametru functiei CreateProcess inainte de a concatena parametrii comenzii (foloseam strdup si apoi strcat => solutie: malloc + strcpy si apoi strcat). <div><br></div><div>Spor,</div><div> Silvia</div><br>--- On <b>Fri, 3/23/12, Stanciu Alexandru <i><the_marian_2006@yahoo.com></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Stanciu Alexandru <the_marian_2006@yahoo.com><br>Subject: Re: [so] Testul 3 Windows<br>To: "so@cursuri.cs.pub.ro" <so@cursuri.cs.pub.ro><br>Date: Friday, March 23, 2012, 4:47 PM<br><br><div id="yiv763746365"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255,
255, 255); font-size: 12pt; font-family: "times new roman", "new york", "times", serif"><div><font size="2" face="Arial"><b><span style="font-weight:bold;">From:</span></b> Razvan Crainea <razvan.crainea@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> Stanciu Alexandru <the_marian_2006@yahoo.com>; Sisteme de Operare <so@cursuri.cs.pub.ro> <br> <b><span style="font-weight:bold;">Sent:</span></b> Friday, March 23, 2012 6:26 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [so] Testul 3 Windows<br> </font> </div><div style="font-size:12pt;"><div style="font-size:12pt;"> <br>
/3/23 Stanciu Alexandru <<a rel="nofollow">the_marian_2006@yahoo.com</a>>:<br>><br>> Obtin asta:<br>>> cat test.txt<br>> test1<br>> test2<br>><br><br>Și dacă folosești prima oară operatorul ">", ca în exemplul de mai<br>jos, ce obții?<br><br>rm test.txt<br>echo "test1" > test.txt<br>echo "test2" >> test.txt<br>cat test.txt<br><br>-- <br>Răzvan Crainea<br></div><div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif" class="yiv763746365yui_3_2_0_17_133252110741961"><br></div><div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif" class="yiv763746365yui_3_2_0_17_133252110741961">Obtin asta.</div><div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"
class="yiv763746365yui_3_2_0_17_133252110741961">Alex@Alex-PC:/cygdrive/c/Users/Alex/Desktop/tema1-checker-win1$ ./mini-shell.exe <br>> rm
test.txt<br>> echo "test1" > test.txt<br>> echo "test2" >> test.txt<br>> cat test.txt<br>test1<br>test2</div><div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif" class="yiv763746365yui_3_2_0_17_133252110741961"><br></div><div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif" class="yiv763746365yui_3_2_0_17_133252110741961">Poate sa fie problema din alta parte? Am verificat, si reverificat totul de o gramada de ori.<br><br><br> </div> </div> </div></div></div><br>-----Inline Attachment Follows-----<br><br><div class="yiv763746365plainMail">_______________________________________________<br>http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii</div></blockquote></td></tr></tbody></table></div><br><br> </div> </div> </div></body></html>