Print PIDs (address #1)
Fix issue with empty input