blob: de1520c52ad31e64938a6865056ede6eb0107f5e [file] [log] [blame]
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
import subprocess
import sys
for line in sys.stdin:
if line.startswith('SF:'):
filename = line[3:].strip()
p = subprocess.Popen(['cygpath', filename], stdout=subprocess.PIPE)
(p_stdout, _) = p.communicate()
print('SF:' + p_stdout.strip())