Changes

Jump to navigation Jump to search
No change in size ,  14:30, 12 April 2013
m
spelling
Line 3: Line 3:  
First of all, if you try to simply launch such program and dump it crtools will  fail. This is because the program you launch from shell shared session and terminal with the shell itself, but crtools should make sure, that no resources are used by external processes. So this simple test would be a little bit trickier, that just it.
 
First of all, if you try to simply launch such program and dump it crtools will  fail. This is because the program you launch from shell shared session and terminal with the shell itself, but crtools should make sure, that no resources are used by external processes. So this simple test would be a little bit trickier, that just it.
   −
== Dumping a simplest process in a new session without controll terminal ==
+
== Dumping a simplest process in a new session without control terminal ==
* For that we can create a shell script, which will report date and time every second. For removing dependences on a current terminal it will be executed in a new session and output will be redirected in a file.
+
* For that we can create a shell script, which will report date and time every second. For removing dependencies on a current terminal it will be executed in a new session and output will be redirected in a file.
 
  $ cat > test.sh <<-EOF
 
  $ cat > test.sh <<-EOF
 
  #!/bin/sh
 
  #!/bin/sh

Navigation menu