Commit Graph

7 Commits

Author SHA1 Message Date
Xavier Delaruelle
20aada54aa Fix 'system' to run cmd through shell
system modulefile command is intended to the command passed to it trough
shell, like done on compatibility version.

So update system procedure to find correct shell on the current platform
and run command through it.

Doing so, shell commands with backticks for instance are correctly run.

Fixes #205
2018-10-20 19:51:31 +02:00
Xavier Delaruelle
2e813720e8 Fix args pass on 'system' modfile command
Correctly transmit the arguments along with the command to execute. Need
to use 'eval' for the underlying command to get its multiple args and
not one joined string.

Fixes #201
2018-10-15 07:21:32 +02:00
Xavier Delaruelle
abc2ddb9cc testsuite: display/exit 0 tests in 50-cmds/140-system 2018-02-25 21:40:10 +01:00
Kent Mein
bd4a515a7d Moved things out of the tcl directory.
Kent
2013-01-10 15:48:30 -06:00
Kent Mein
76adb1c7e3 Removed all of the non tcl version stuff. Or most of it anyway.
Kent
2013-01-10 15:44:49 -06:00
lakata
1ac833a16c (a) updated testsuite by centering source on TESTSUITEDIR, rather than rely on "pwd" or relative paths, which prohibit running the testsuite from a different dir (b) removed autoconf/configure processing of testsuite 2002-03-11 21:48:16 +00:00
rk
e816ab15b5 modules is a shell tool for setting-up the user environment on the
fly, as it were.  It's a powerful mechanism for dynamically changing
environment variables, aliases, X11 resources, etc.
It uses an embedded Tcl intrepretor, with a few extensions.  Therefore,
it has a well defined language syntax.
Version 3.1 is GPL, and includes many improvements over the 3.0beta.
2000-06-28 00:17:34 +00:00