I have a question, I coded just a basic python bot, one of the commands called "ascii" takes an input from the ctx and then with subproccess.py calls a C binary, that pretty much just writes the input with "#" and " ", everything works fine when I run it on my pc, but I just put the bot on heroku and this doesn't work (other commands work), I call it with
subprocess.check_output("ascii \"" + " ".join(text) + "\"", shell=True)
In logs I get
Command 'ascii "input"' returned non-zero exit status 127.
which from what I've found meand that command was not found, so I guess I will have to add a directiory to the path (like /apps/bot/ascii or something) but I can't figure out what exactly to put in there or if this even is the issue.
Any ideas how to make it work?
edit_1: I tried to change the calling of the function to
/app/ascii which should be the directory I thought at least, but now it returns exit status 126, which is that the command is not a executable
edit_2: Just tried to run ascii with console on heroku, at first permission denied, but after I gave it permission, it worked. Do I need to somehow set global permission to ascii? Like in requirements.txt or something?