Change-Id: Ie511984edf6ffa383507c74a0eb010a0061d6514
void DisplayQR(struct TestContents &contents)
{
int ret;
- std::string command = "/usr/bin/chsmack -a '_' ";
- command += contents.path.c_str();
-
- ret = system(command.c_str());
- if (ret) {
- std::cout << "chsmack command failed\n"
- << "System() returned: " << ret << std::endl;
- return;
- }
-
- command = "/usr/bin/webauthn-image-viewer ";
+ std::string command = "/usr/bin/webauthn-image-viewer ";
command += contents.path.c_str();
command += " &"; // run background