Rev 7541 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7541 | Rev 7588 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | #include "../lib/patterns/restart_process.h" |
10 | #include "../lib/patterns/restart_process.h" |
Line 11... | Line 11... | ||
11 | 11 | ||
12 | void main() |
12 | void main() |
13 | { |
13 | { |
- | 14 | int i; |
|
Line 14... | Line 15... | ||
14 | int i; |
15 | CreateDir("/tmp0/1/pig"); |
15 | 16 | ||
16 | if (! file_exists("/tmp0/1/pig/pig")) { |
17 | if (! file_exists("/tmp0/1/pig/pig")) { |
17 | RunProgram("/sys/UNZ", "-o \"/tmp0/1\" -h \"/kolibrios/games/pig/pig.zip\""); |
18 | RunProgram("/sys/UNZ", "-o \"/tmp0/1/pig\" -h \"/kolibrios/games/pig/pig.zip\""); |
18 | for (i = 0; i < 200; i++) |
19 | for (i = 0; i < 200; i++) |
19 | { |
20 | { |
20 | if (CheckProcessExists("UNZ")==false) break; |
21 | if (CheckProcessExists("UNZ")==false) break; |