Switch virCommandRunRegex to use virStringSplit
Instead of running the command asynchronously and reading the output via fgets, let virCommand collect the output and split it with virStringSplit.
Showing
想要评论请 注册 或 登录
Instead of running the command asynchronously and reading the output via fgets, let virCommand collect the output and split it with virStringSplit.