Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud with console doesn't work on Mac #15

Open
tomvanmele opened this issue Dec 17, 2020 · 0 comments
Open

Cloud with console doesn't work on Mac #15

tomvanmele opened this issue Dec 17, 2020 · 0 comments

Comments

@tomvanmele
Copy link
Member

        if self.background:
            print("Starting new cloud server in background at {}:{}".format(self.host, self.port))
            self._process = Popen(args, stdout=PIPE, stderr=PIPE, env=env)
        else:
            print("Starting new cloud server with prompt console at {}:{}".format(self.host, self.port))
            args[0] = compas._os.select_python('python')
            args = " ".join(args)
            os.system('start ' + args)

in the else part the call to os.system('start python ...') fails because start is not recognised as command...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant