Execute a shell command and return its error code

Property definitions

core :: exec $ Sys :: system
	# Execute a shell command and return its error code
	fun system(command: Text): Int
	do
		return command.to_cstring.system
	end
lib/core/exec.nit:451,2--455,4

libevent :: libevent_test $ Sys :: system
redef fun system(cmd)
do
	if testing_id == 0 then print "[Client] {cmd}"
	return super(cmd)
end
lib/libevent/libevent_test.nit:78,1--82,3

nitcorn :: test_restful_annot $ Sys :: system
redef fun system(cmd)
do
	print "[Client] {cmd.replace(host_re, "localhost:*****")}"
	var r = super(cmd)
	print ""
	return r
end
lib/nitcorn/examples/src/test_restful_annot.nit:64,1--70,3