Spaces:
Runtime error
Runtime error
File size: 184 Bytes
8811068 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import os
# Extract values for each application
service_port = os.environ.get('WAVJOURNEY_SERVICE_PORT')
# Execute the commands
os.system(f'kill $(lsof -t -i :{service_port})')
|