|
|
|
|
|
|
|
|
var p = nodeShellExec('mklink', [ `${processedArgs._[2]}.json` |
|
|
var p = nodeShellExec('mklink', [ `${processedArgs._[2]}.json` |
|
|
, `..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`], { |
|
|
, `..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json`], { |
|
|
inherit: true, shell: true |
|
|
inherit: true, shell: true |
|
|
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance}/models` |
|
|
|
|
|
|
|
|
, cwd : instanceroot + `/${selectedinstance.instanceName}-server/${selectedinstance.instanceName}/models` |
|
|
|
|
|
, title: `mklink ${processedArgs._[2]}.json ..\\..\\node_modules\\chess-server-lib\\common\\models\\${processedArgs._[2]}.json` |
|
|
, env: process.env |
|
|
, env: process.env |
|
|
}).catch((e) => { console.error(e) }) |
|
|
}).catch((e) => { console.error(e) }) |
|
|
return p; |
|
|
return p; |