|
|
@ -412,6 +412,7 @@ namespace eval shellspy { |
|
|
|
package require shellrun |
|
|
|
package require shellrun |
|
|
|
package require punk::repl |
|
|
|
package require punk::repl |
|
|
|
puts stdout "quit to exit" |
|
|
|
puts stdout "quit to exit" |
|
|
|
|
|
|
|
repl::init -safe 0 |
|
|
|
repl::start stdin -defaultresult %r% |
|
|
|
repl::start stdin -defaultresult %r% |
|
|
|
}]] |
|
|
|
}]] |
|
|
|
} |
|
|
|
} |
|
|
@ -714,6 +715,7 @@ source [file normalize $scriptname] |
|
|
|
#append repl_lines {puts stderr "starting repl [chan names]"} \n |
|
|
|
#append repl_lines {puts stderr "starting repl [chan names]"} \n |
|
|
|
#append repl_lines {puts stderr "stdin [chan configure stdin]"} \n |
|
|
|
#append repl_lines {puts stderr "stdin [chan configure stdin]"} \n |
|
|
|
append repl_lines {package require punk::repl} \n |
|
|
|
append repl_lines {package require punk::repl} \n |
|
|
|
|
|
|
|
append repl_lines {repl::init -safe 0} \n |
|
|
|
append repl_lines {repl::start stdin} \n |
|
|
|
append repl_lines {repl::start stdin} \n |
|
|
|
|
|
|
|
|
|
|
|
#append repl_lines {puts stdout "shutdown message"} \n |
|
|
|
#append repl_lines {puts stdout "shutdown message"} \n |
|
|
|