[LBBS-97] system.c: Evaluate shell syntax/variables when launching programs
Some loose ends to tidy up, from commit https://github.com/InterLinked1/lbbs/commit/a433d7eea4667733dfce09f4c938d23026cde6d5
* Environment variables like $HOME and shell shorthand like ~ are
not evaluated prior to the program being launched, so full paths
always need to be provided (BBS variables are okay). This isn't
really specific to this change, but is important since it is
intuitive to use such syntax in mailbox rules; currently, this doesn't work.
We should figure out a way to make it work.
- For example, in a MailScript EXEC rule, using
$HOMEand~don't work (evaluate to nothing). chdirto home directory also doesn't work
Comments
You must be logged in to leave a comment.