human
how to call multiple bash functions using | in python
assistant
Here is some code to call multiple bash function ‘vasp’ and ‘tee tee_output’ using ‘|’

subprocess.check_call('vasp | tee tee_output', shell=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.