Docker Challenge #KF3

import sys


def main():
    # You can use print statements as follows for debugging, they'll be visible when running tests.
    print("Logs from your program will appear here!")


    command = sys.argv[3]
    args = sys.argv[4:]

    completed_process = subprocess.run([command, *args])

    sys.stdout.buffer.write(completed_process.stdout)
    sys.stderr.buffer.write(completed_process.stderr)


if __name__ == "__main__":
    main()

Above code doesn't pass test cases, Am I missing something here

@DnvSaiteja could you share the logs you’re seeing from the tester? Hard to help without knowing what error you’re running into.

Closing this thread due to inactivity. If you still need assistance, feel free to start a new discussion!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.