Re: [Modules] envml
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Paul M. <pau...@gm...> - 2025-06-13 14:34:59
|
It is a bash script (included with modules). So it starts a new process - then runs its commands - exiting when done. Alternatively, you could just write a bash script for the particular situation that loads modules and then runs a command. On 2025-06-13 6:50 AM, InfnPi wrote: > I read documentation, but don’t really understand it’s use. > What happens after the command is executed? > The loaded modules stay or they are just used to run the command and then unloaded? > > Would be nice to have a “real” usage example with environment before and after the command > > Roberto > On 13 Jun 2025 at 07:56 +0200, Xavier Delaruelle <xav...@gm...>, wrote: >> Dear All, >> >> Do you know the "envml" command? >> >> Like "env", it runs a program in a modified environment, but here >> environment is modified by Modules. >> >> "envml" is available since Modules 4.0 and it is freshly documented in >> its own man page: >> https://modules.readthedocs.io/en/latest/envml.html >> >> Best regards, >> Xavier >> >> >> _______________________________________________ >> Modules-interest mailing list >> Mod...@li... >> https://lists.sourceforge.net/lists/listinfo/modules-interest > > > > _______________________________________________ > Modules-interest mailing list > Mod...@li... > https://lists.sourceforge.net/lists/listinfo/modules-interest > -- -------------------------------------------------------- The views and opinions expressed above are strictly those of the author(s). The content of this message has not been reviewed nor approved by any entity whatsoever. -------------------------------------------------------- Paul FM Info: http://paulfm.com/~paulfm/ -------------------------------------------------------- |