Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Just use sh, like system()

I had grand visions of being able to use shell aliases and functions, but
realized a bit too late that that those are generally only used if the shell if
interactive =(... and I had already verified that virtually every shell on earth
supports -c.

Signed-off-by: Jack Miller <>
  • Loading branch information...
commit b557f0c2c49b4798e0be6ee33fd456c7fb54ac40 1 parent e0a40de
@themoken authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  canto/
3  canto/
@@ -87,8 +87,7 @@ def silentfork(path, href, text, fetch):
path = path.replace("%u", href)
- shell = os.getenv("SHELL")
- os.execv(shell, [shell, "-c", path])
+ os.execv("/bin/sh", ["/bin/sh", "-c", path])
if text:
Please sign in to comment.
Something went wrong with that request. Please try again.