New function egw_prog that returns name of shell.
[egate.git] / www / wshmain.c
index 9a34f7e..1b25d38 100644 (file)
  * USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  * $Log: wshmain.c,v $
- * Revision 1.2  1996/03/08 16:47:06  adam
+ * Revision 1.3  1996/03/14 11:48:39  adam
+ * New function egw_prog that returns name of shell.
+ *
+ * Revision 1.2  1996/03/08  16:47:06  adam
  * Logs of changes.
  *
  * Revision 1.1  1996/02/29  15:36:34  adam
@@ -95,7 +98,8 @@ void wshmain (int argc, char **argv, W_Interp_Type w_interp_type)
     gw_log_level (gw_log_mask_str (
                   gw_res_get (shRes, "log.level", "default")));
 #endif 
-    if (!(wcl = wproto_init (gw_res_get (shRes, "fifo.dir", "/tmp/egw"))))
+    if (!(wcl = wproto_init (gw_res_get (shRes, "fifo.dir", "/tmp/egw"),
+                             *argv)))
     {
        gw_log (GW_LOG_FATAL, mod, "init");
        exit(1);