Add directory to PATH (with_path)
If you want to run a command with an additional folder on the path you can specify it with with_path.
Note that if you use CommandPath object, the directory you use it on is already added.
#!/bin/bash echo hello $1 > output
#!/bin/bash ls $1
from commandlib import Command runls = Command("./runls")
Add bin_directory to PATH for runls:
File 'output' will contain:
Documentation automatically generated from with-path.story storytests.