This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
534 for (n = 1; n < (guint) argc; n++) | |
535 { | |
536 if (strcmp (argv[n], "--help") == 0) | |
…. | |
548 if (n >= (guint) argc) | |
549 { | |
550 usage (argc, argv); | |
551 goto out; | |
552 } | |
553 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
610 path = g_strdup (argv[n]); | |
... | |
629 if (path[0] != '/') | |
630 { | |
... | |
632 s = g_find_program_in_path (path); | |
... | |
639 argv[n] = path = s; | |
640 } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
class DupStdout(object): | |
def __init__(self, log_path): | |
self.terminal = sys.stdout | |
self.log_file = open(log_path, "w") |