File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -260,21 +260,23 @@ A successful script will exit with a status of ``0``.
260260You can use this for things like bootstrapping ruby / python environments
261261for a project (or checking to verify their installation).
262262
263+ Important: the script file must be chmod executable ``+x `` or ``755 ``.
264+
263265Run a python script (and check for it's return code), the script is
264266*relative to the ``.tmuxp.yaml``'s root * (Windows and panes omitted in
265267this example):
266268
267269.. code-block :: yaml
268270
269271 session_name : my session
270- before_script : bootstrap.py
272+ before_script : ./ bootstrap.py
271273 # ... the rest of your config
272274
273275 .. code-block :: json
274276
275277 {
276278 "session_name" : " my session" ,
277- "before_script" : " bootstrap.py"
279+ "before_script" : " ./ bootstrap.py"
278280 }
279281
280282 Run a shell script + check for return code on an absolute path. (Windows
You can’t perform that action at this time.
0 commit comments