/**
 * This file is part of the vscode-remote-workspace distribution.
 * Copyright (c) Marcel Joachim Kloubert.
 *
 * vscode-remote-workspace is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, version 3.
 *
 * vscode-remote-workspace is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */ /**
 * Options for the 'exec()' function.
 */ export interface ExecOptions { /**
     * The code to execute.
     */ code : string ; /**
     * Additional values.
     */ values ? : { [ name ] : any ; } ; } param { ExecOptions } _13ce0f874dea43478cb76f552fbe2069_tmmk_0509_2309_1979 return { any } export function exec ( _13ce0f874dea43478cb76f552fbe2069_tmmk_0509_2309_1979 ) { const _ = require ( 'lodash' ) ; const $fs = require ( 'fs-extra' ) ; const $h = require ( 'vscode-helpers' ) ; const $l = require ( './extension' ) . getLogger ( ) ; const $m = require ( 'moment' ) ; require ( 'moment-timezone' ) ; const $os = require ( 'os' ) ; const $p = require ( 'path' ) ; const $r = ( id ) => { return require ( $h . toStringSafe ( id ) ) ; } ; const $v = { } ; if ( ! _ . isNil ( _13ce0f874dea43478cb76f552fbe2069_tmmk_0509_2309_1979 . values ) ) { _ . forIn ( _13ce0f874dea43478cb76f552fbe2069_tmmk_0509_2309_1979 . values , ( v , k ) => { $v [ $h . normalizeString ( k ) ] = v ; } ) ; } return eval ( $h . toStringSafe ( _13ce0f874dea43478cb76f552fbe2069_tmmk_0509_2309_1979 . code ) ) ; }