themultiplexer 8 yıl önce
ebeveyn
işleme
c10b801de3
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2
    2
      hw5/task1/src/main.rs

+ 2
- 2
hw5/task1/src/main.rs Dosyayı Görüntüle

@@ -15,7 +15,7 @@ fn main() {
15 15
 
16 16
         match procinfo::pid::stat_self(){
17 17
             Ok(stat) => {
18
-                let result = child::run_childs(stat.pid, &arguments[2]);
18
+                let result = child::run_childs(stat.pid, &arguments[1]);
19 19
                 match result {
20 20
                     Ok(_) => {},
21 21
                     Err(_) => {},
@@ -26,7 +26,7 @@ fn main() {
26 26
 
27 27
 
28 28
     } else {
29
-        zombie::run_zombie();
29
+        //zombie::run_zombie();
30 30
     }
31 31
 
32 32
 }

Loading…
İptal
Kaydet