INF4GL and shell-variable: /bin/csh ???
Posted in 1991
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
There is a problem using 4GL and the shell-variable /bin/csh. I want to show some information (like state of the printer, active users, ...) with a command like: run "w | less " The setting of: SHELL=/bin/sh results in a correct display, but the user can use the "!"-Command of less. The setting of: SHELL=- results in nothing - no execution of the run-command. So I must type: run "SHELL=-;export SHELL; w | less" with SHELL=/bin/sh before 4gl-start. Is there another user-friendly way for using run without allowing shell-commands in subshells? Thanks Dieter Becker ******************************************************************************** * Dr. med. dipl.-math Dieter Becker ** Tel.: (0 / +49) 6841 - 16 3046 * * Medizinische Universitaets- und Poliklinik ** Fax.: (0 / +49) 6841 - 16 3369 * * Innere Medizin III *********************************** * D - 6650 Homburg / Saar ** email: * * ** becker@sbuvax.cs.uni-sb.de * ********************************************************************************