Need to split by \n otherwise values like command with args will be wrongly splited by space too.