|
@@ -22,8 +22,10 @@ public class TestController {
|
|
|
|
|
|
@RequestMapping("/test")
|
|
|
public ResultData test(){
|
|
|
+ String cmd1 = "docker run --rm -v /mnt/fusion:/mnt/fusion/";
|
|
|
String cmd = "docker exec -it 3dtile /bin/bash -c '/mnt/fusion/3dtile.sh -f osgb -i /mnt/fusion/osgb/modelId_578/OSGB -o /mnt/fusion/b3dm/modelId_578/OSGB'";
|
|
|
- ShellUtil.execDockerCmd(cmd);
|
|
|
+ String[] cmds = new String[]{cmd1, cmd};
|
|
|
+ ShellUtil.execDockerCmd(cmds);
|
|
|
return ResultData.ok();
|
|
|
}
|
|
|
|