Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Add output of subprocess in trial #3141

Closed
ultmaster opened this issue Nov 30, 2020 · 0 comments · Fixed by #3653
Closed

Add output of subprocess in trial #3141

ultmaster opened this issue Nov 30, 2020 · 0 comments · Fixed by #3653

Comments

@ultmaster
Copy link
Contributor

ultmaster commented Nov 30, 2020

The output of subprocess is not found, neither in trial log, nor in trial stderr.

To reproduce, in mnist-tfv2 example, change mnist.py into:

import nni
import subprocess


subprocess.run(['uname', '-r'], check=True)
subprocess.run(['cat', 'config.yml'], check=True)

There is no output at all.

@kvartet kvartet added the nnidev label Dec 2, 2020
@ultmaster ultmaster changed the title Where is the output of subprocess Add output of subprocess in trial Apr 27, 2021
@ultmaster ultmaster linked a pull request May 24, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants