visortelle commented on PR #576:
URL: https://github.com/apache/pulsar-site/pull/576#issuecomment-1547808800

   @tisonkun by the way, I used another command to run child process, and now I 
at least see the concrete error message `cannot find module 'replace-in-files'`.
   
   ```python
   import subprocess
   
   ...
   
   def run_command(command):
       process = subprocess.Popen(command, stdout=subprocess.PIPE, 
stderr=subprocess.PIPE, shell=True)
       stdout, stderr = process.communicate()
   
       if stdout:
           print("STDOUT:")
           print(stdout.decode('utf-8'))
       if stderr:
           print("STDERR:")
           print(stderr.decode('utf-8'))
   
   ...
   
   run_command('yarn install')
   ```
   
   <img width="1044" alt="Screenshot 2023-05-15 at 2 54 10 PM" 
src="https://github.com/apache/pulsar-site/assets/9302460/622a8e92-3089-48e6-8ce2-076c1129a4c4";>
   
   
   
https://github.com/tealtools/pulsar-site-pip-249/actions/runs/4980539690/jobs/8913580517


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to