Skip to content

Is it possible to use different shells inside a single justfile ? #1659

Answered by casey
Roms1383 asked this question in Q&A
Discussion options

You must be logged in to vote

It isn't possible to have different values of the shell setting, but it is possible to use shebang recipes to use a different interpreter:

foo:
  #!/usr/bin/env bash
  echo hello

bar:
  #!/usr/bin/env python3
  print('hello')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Roms1383
Comment options

Answer selected by Roms1383
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants