-
Notifications
You must be signed in to change notification settings - Fork 0
/
_LOG_
77 lines (62 loc) · 2.26 KB
/
_LOG_
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
-log file created in path=/home/h/_LOG_
-shell started- in interactive mode
-i will notify user to write command
-i will read command to variable {line}
-line entered is:ls
-line after tolower:ls
-line after removintg extra spaces:ls
-line after removing prefix and postfix spaces:ls
-line after testing background process=ls
-isBackground=0
-isExit=false
-isEmpty=false
-final input after shaving:ls
-i will split user input on delemeter "\\s" {space}
-i will execute command
-parent pid is:14838
-{this is parent process}. not background. parent process will wait for child to exit
-child process created successfully and pid is 14840
-******************Child process was terminated*******************
-______________________________________________________________
-i will notify user to write command
-i will read command to variable {line}
-line entered is:ls
-line after tolower:ls
-line after removintg extra spaces:ls
-line after removing prefix and postfix spaces:ls
-line after testing background process=ls
-isBackground=0
-isExit=false
-isEmpty=false
-final input after shaving:ls
-i will split user input on delemeter "\\s" {space}
-i will execute command
-parent pid is:14838
-{this is parent process}. not background. parent process will wait for child to exit
-child process created successfully and pid is 14841
-******************Child process was terminated*******************
-______________________________________________________________
-i will notify user to write command
-i will read command to variable {line}
-line entered is:history
-line after tolower:history
-line after removintg extra spaces:history
-line after removing prefix and postfix spaces:history
-line after testing background process=history
-isBackground=0
-isExit=false
-isEmpty=false
-final input after shaving:history
-i will split user input on delemeter "\\s" {space}
-______________________________________________________________
-i will notify user to write command
-i will read command to variable {line}
-line entered is:exit
-line after tolower:exit
-line after removintg extra spaces:exit
-line after removing prefix and postfix spaces:exit
-line after testing background process=exit
-isBackground=0
-isExit=true
EXITTING :)
-******************Child process was terminated*******************